Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def infer(image_string, question):
|
|
31 |
result = client.predict(
|
32 |
image_in, # filepath in 'image' Image component
|
33 |
question, # str in 'Question' Textbox component
|
34 |
-
api_name=
|
35 |
)
|
36 |
print(result)
|
37 |
return result
|
|
|
31 |
result = client.predict(
|
32 |
image_in, # filepath in 'image' Image component
|
33 |
question, # str in 'Question' Textbox component
|
34 |
+
api_name='/predict'
|
35 |
)
|
36 |
print(result)
|
37 |
return result
|