Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -648,7 +648,6 @@ _on_spaces = os.environ.get("SPACE_ID") is not None
|
|
| 648 |
app.launch(
|
| 649 |
server_name="0.0.0.0",
|
| 650 |
server_port=7860,
|
| 651 |
-
share=_on_spaces,
|
| 652 |
-
show_error=True
|
| 653 |
-
prevent_thread_lock=True, # stops Gradio pinging localhost — needed on HF Spaces
|
| 654 |
)
|
|
|
|
| 648 |
app.launch(
|
| 649 |
server_name="0.0.0.0",
|
| 650 |
server_port=7860,
|
| 651 |
+
share=_on_spaces,
|
| 652 |
+
show_error=True
|
|
|
|
| 653 |
)
|