jadechoghari
commited on
Commit
•
1981dc2
1
Parent(s):
2efe921
Update README.md
Browse files
README.md
CHANGED
@@ -29,9 +29,8 @@ image_path = "appstore_reminders.png"
|
|
29 |
prompt = "Describe the image in details"
|
30 |
|
31 |
# Call the function without a box
|
32 |
-
|
33 |
|
34 |
-
# Output processed text
|
35 |
print("Inference Text:", inference_text)
|
36 |
```
|
37 |
|
@@ -49,7 +48,9 @@ processed_image, inference_text = inference_and_run(
|
|
49 |
box=box
|
50 |
)
|
51 |
|
52 |
-
#
|
|
|
|
|
53 |
print("Inference Text:", inference_text)
|
54 |
```
|
55 |
|
|
|
29 |
prompt = "Describe the image in details"
|
30 |
|
31 |
# Call the function without a box
|
32 |
+
inference_text = inference_and_run(image_path, prompt)
|
33 |
|
|
|
34 |
print("Inference Text:", inference_text)
|
35 |
```
|
36 |
|
|
|
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 |
|