Spaces:
Sleeping
Sleeping
segovia commited on
Commit ·
ce34c91
1
Parent(s): a154425
as
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ if __name__ == "__main__":
|
|
| 121 |
share_enabled = True
|
| 122 |
|
| 123 |
try:
|
| 124 |
-
build_app().launch(
|
| 125 |
except Exception as exc:
|
| 126 |
print(f"Share link unavailable ({exc}). Starting local-only Gradio app instead.")
|
| 127 |
-
build_app().launch(
|
|
|
|
| 121 |
share_enabled = True
|
| 122 |
|
| 123 |
try:
|
| 124 |
+
build_app().launch(server_name="0.0.0.0", server_port=7860, theme=gr.themes.Soft())
|
| 125 |
except Exception as exc:
|
| 126 |
print(f"Share link unavailable ({exc}). Starting local-only Gradio app instead.")
|
| 127 |
+
build_app().launch()
|