Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -614,9 +614,9 @@ def build_app():
|
|
| 614 |
# The `if __name__ == "__main__"` guard prevented launch() from running on Spaces
|
| 615 |
# because HF imports app.py rather than executing it as a script.
|
| 616 |
app = build_app()
|
| 617 |
-
|
| 618 |
-
|
| 619 |
-
|
| 620 |
-
|
| 621 |
-
|
| 622 |
-
|
|
|
|
| 614 |
# The `if __name__ == "__main__"` guard prevented launch() from running on Spaces
|
| 615 |
# because HF imports app.py rather than executing it as a script.
|
| 616 |
app = build_app()
|
| 617 |
+
app.launch(
|
| 618 |
+
server_name="0.0.0.0",
|
| 619 |
+
server_port=7860,
|
| 620 |
+
share=False,
|
| 621 |
+
show_error=True
|
| 622 |
+
)
|