Tonic commited on
Commit
7bb5314
1 Parent(s): b3a9ae3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ def process_image(image_input):
114
  result = client.predict(
115
  image_path, # URL of the image
116
  True, # Additional parameter for the server (e.g., enable detailed captioning)
117
- fn_index=2
118
  )
119
 
120
  return result
 
114
  result = client.predict(
115
  image_path, # URL of the image
116
  True, # Additional parameter for the server (e.g., enable detailed captioning)
117
+ fn_index="caption"
118
  )
119
 
120
  return result