updated server name
Browse files
app.py
CHANGED
|
@@ -120,8 +120,9 @@ demo = gr.Interface(
|
|
| 120 |
gr.JSON(label="Predictions per Cat")
|
| 121 |
],
|
| 122 |
title="StrAI - Cat Identifier",
|
| 123 |
-
description="Upload an image with one or more cats."
|
|
|
|
| 124 |
)
|
| 125 |
|
| 126 |
if __name__ == "__main__":
|
| 127 |
-
demo.launch(server_name="0.0.0.0"
|
|
|
|
| 120 |
gr.JSON(label="Predictions per Cat")
|
| 121 |
],
|
| 122 |
title="StrAI - Cat Identifier",
|
| 123 |
+
description="Upload an image with one or more cats.",
|
| 124 |
+
api_name="predict"
|
| 125 |
)
|
| 126 |
|
| 127 |
if __name__ == "__main__":
|
| 128 |
+
demo.launch(server_name="0.0.0.0")
|