Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -335,4 +335,11 @@ with gr.Blocks(title="Face Recognition Backend API") as demo:
|
|
| 335 |
|
| 336 |
app = gr.mount_gradio_app(api_app, demo, path="/")
|
| 337 |
|
| 338 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 335 |
|
| 336 |
app = gr.mount_gradio_app(api_app, demo, path="/")
|
| 337 |
|
| 338 |
+
if __name__ == "__main__":
|
| 339 |
+
print("[startup] Starting Gradio server", flush=True)
|
| 340 |
+
|
| 341 |
+
demo.launch(
|
| 342 |
+
server_name="0.0.0.0",
|
| 343 |
+
server_port=1008,
|
| 344 |
+
show_error=True
|
| 345 |
+
)
|