Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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
|