Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def get_caption(image_in):
|
|
| 17 |
|
| 18 |
kosmos2_result = kosmos2_client.predict(
|
| 19 |
image_in, # str (filepath or URL to image) in 'Test Image' Image component
|
| 20 |
-
"
|
| 21 |
fn_index=4
|
| 22 |
)
|
| 23 |
|
|
|
|
| 17 |
|
| 18 |
kosmos2_result = kosmos2_client.predict(
|
| 19 |
image_in, # str (filepath or URL to image) in 'Test Image' Image component
|
| 20 |
+
"Detailed", # str in 'Description Type' Radio component
|
| 21 |
fn_index=4
|
| 22 |
)
|
| 23 |
|