jadechoghari commited on
Commit
f5347fd
1 Parent(s): 5c28fa4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -29,7 +29,7 @@ image_path = "appstore_reminders.png"
29
  prompt = "Describe the image in details"
30
 
31
  # Call the function without a box
32
- processed_image, inference_text = inference_and_run(image_path, prompt, conv_mode="ferret_gemma_instruct", model_path="jadechoghari/Ferret-UI-Gemma2b")
33
 
34
  # Output processed text
35
  print("Inference Text:", inference_text)
@@ -44,12 +44,12 @@ box = [189, 906, 404, 970]
44
  processed_image, inference_text = inference_and_run(
45
  image_path=image_path,
46
  prompt=prompt,
47
- conv_mode="ferret_gemma_instruct",
48
- model_path="jadechoghari/Ferret-UI-Gemma2b",
49
  box=box
50
  )
51
 
52
- # otput the inference text and optionally save the processed image
53
  print("Inference Text:", inference_text)
54
  ```
55
 
 
29
  prompt = "Describe the image in details"
30
 
31
  # Call the function without a box
32
+ processed_image, inference_text = inference_and_run(image_path, prompt)
33
 
34
  # Output processed text
35
  print("Inference Text:", inference_text)
 
44
  processed_image, inference_text = inference_and_run(
45
  image_path=image_path,
46
  prompt=prompt,
47
+ conv_mode="ferret_llama_3",
48
+ model_path="jadechoghari/Ferret-UI-Llama8b",
49
  box=box
50
  )
51
 
52
+ # output the inference text and optionally save the processed image
53
  print("Inference Text:", inference_text)
54
  ```
55