jadechoghari commited on
Commit
3dd8fd5
1 Parent(s): 1981dc2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -4
README.md CHANGED
@@ -40,7 +40,7 @@ image_path = "appstore_reminders.png"
40
  prompt = "What's inside the selected region?"
41
  box = [189, 906, 404, 970]
42
 
43
- processed_image, inference_text = inference_and_run(
44
  image_path=image_path,
45
  prompt=prompt,
46
  conv_mode="ferret_llama_3",
@@ -48,9 +48,6 @@ processed_image, inference_text = inference_and_run(
48
  box=box
49
  )
50
 
51
- # you could also pass process_image=True
52
- # to output: processed_image, inference_text = inference_and_run(...., process_image=True)
53
-
54
  print("Inference Text:", inference_text)
55
  ```
56
 
 
40
  prompt = "What's inside the selected region?"
41
  box = [189, 906, 404, 970]
42
 
43
+ inference_text = inference_and_run(
44
  image_path=image_path,
45
  prompt=prompt,
46
  conv_mode="ferret_llama_3",
 
48
  box=box
49
  )
50
 
 
 
 
51
  print("Inference Text:", inference_text)
52
  ```
53