songtianhui
commited on
Commit
·
7159871
1
Parent(s):
f42eb27
update
Browse files
README.md
CHANGED
|
@@ -138,7 +138,7 @@ def inference(image_path: str, instruction: str) -> str:
|
|
| 138 |
return response.choices[0].message.content
|
| 139 |
|
| 140 |
# Example usage
|
| 141 |
-
image_path = "./
|
| 142 |
instruction = "Output the polygon coordinates of octopus in the image."
|
| 143 |
|
| 144 |
response = inference(image_path, instruction)
|
|
|
|
| 138 |
return response.choices[0].message.content
|
| 139 |
|
| 140 |
# Example usage
|
| 141 |
+
image_path = "./octopus.png"
|
| 142 |
instruction = "Output the polygon coordinates of octopus in the image."
|
| 143 |
|
| 144 |
response = inference(image_path, instruction)
|