Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -509,5 +509,10 @@ with gr.Blocks() as demo:
|
|
| 509 |
concurrency_limit=2 if get_space() else None,
|
| 510 |
)
|
| 511 |
|
|
|
|
| 512 |
if __name__ == "__main__":
|
| 513 |
-
demo.launch(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 509 |
concurrency_limit=2 if get_space() else None,
|
| 510 |
)
|
| 511 |
|
| 512 |
+
|
| 513 |
if __name__ == "__main__":
|
| 514 |
+
demo.launch(
|
| 515 |
+
server_name="0.0.0.0",
|
| 516 |
+
server_port=int(os.environ.get("PORT", 9090)),
|
| 517 |
+
debug=True,
|
| 518 |
+
)
|