Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,8 +20,8 @@ iface = gr.Interface(
|
|
| 20 |
outputs="text",
|
| 21 |
title="Explain this Image",
|
| 22 |
flagging_mode="never",
|
| 23 |
-
#
|
| 24 |
-
|
| 25 |
)
|
| 26 |
|
| 27 |
# Queue for API & launch
|
|
|
|
| 20 |
outputs="text",
|
| 21 |
title="Explain this Image",
|
| 22 |
flagging_mode="never",
|
| 23 |
+
# Add the api_name parameter
|
| 24 |
+
api_name="predict"
|
| 25 |
)
|
| 26 |
|
| 27 |
# Queue for API & launch
|