Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -193,7 +193,7 @@ def query_image_caption(image):
|
|
| 193 |
# Use the InferenceClient's image_to_text method
|
| 194 |
response = client.image_to_text(
|
| 195 |
# model="Salesforce/blip-image-captioning-large",
|
| 196 |
-
model="microsoft/Florence-2-base-ft,
|
| 197 |
image=image_bytes,
|
| 198 |
)
|
| 199 |
return response
|
|
|
|
| 193 |
# Use the InferenceClient's image_to_text method
|
| 194 |
response = client.image_to_text(
|
| 195 |
# model="Salesforce/blip-image-captioning-large",
|
| 196 |
+
model="microsoft/Florence-2-base-ft",
|
| 197 |
image=image_bytes,
|
| 198 |
)
|
| 199 |
return response
|