Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -114,8 +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 |
-
token=hf_token
|
119 |
)
|
120 |
|
121 |
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=2
|
|
|
118 |
)
|
119 |
|
120 |
return result
|