ProfessorLeVesseur commited on
Commit
e264991
·
verified ·
1 Parent(s): 7fac068

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -192,7 +192,8 @@ def query_image_caption(image):
192
 
193
  # Use the InferenceClient's image_to_text method
194
  response = client.image_to_text(
195
- model="Salesforce/blip-image-captioning-large",
 
196
  image=image_bytes,
197
  )
198
  return response
 
192
 
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