Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,4 +104,4 @@ demo = build_interface()
|
|
| 104 |
|
| 105 |
if __name__ == "__main__":
|
| 106 |
# For local testing; on HF Spaces, just exposing `demo` is enough.
|
| 107 |
-
demo.launch()
|
|
|
|
| 104 |
|
| 105 |
if __name__ == "__main__":
|
| 106 |
# For local testing; on HF Spaces, just exposing `demo` is enough.
|
| 107 |
+
demo.launch(server_name="0.0.0.0", server_port=int(os.getenv("PORT", 7860)))
|