Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def get_caption(image_in):
|
|
66 |
result = client.predict(
|
67 |
image_in, # filepath in 'image' Image component
|
68 |
"Describe precisely the image in one sentence.", # str in 'Question' Textbox component
|
69 |
-
api_name="/
|
70 |
)
|
71 |
print(result)
|
72 |
return result
|
|
|
66 |
result = client.predict(
|
67 |
image_in, # filepath in 'image' Image component
|
68 |
"Describe precisely the image in one sentence.", # str in 'Question' Textbox component
|
69 |
+
api_name="/answer_question"
|
70 |
)
|
71 |
print(result)
|
72 |
return result
|