Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -136,7 +136,7 @@ def process_image(image_input):
|
|
| 136 |
result = client.predict(
|
| 137 |
image_path, # URL of the image
|
| 138 |
True, # Additional parameter for the server (e.g., enable detailed captioning)
|
| 139 |
-
fn_index=
|
| 140 |
)
|
| 141 |
|
| 142 |
return result
|
|
|
|
| 136 |
result = client.predict(
|
| 137 |
image_path, # URL of the image
|
| 138 |
True, # Additional parameter for the server (e.g., enable detailed captioning)
|
| 139 |
+
fn_index=2
|
| 140 |
)
|
| 141 |
|
| 142 |
return result
|