Spaces:
Sleeping
Sleeping
Update App.py
Browse files
App.py
CHANGED
|
@@ -164,4 +164,4 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Nexa R&D Studio", css="""
|
|
| 164 |
|
| 165 |
# Configure launch based on environment
|
| 166 |
is_huggingface = os.getenv("HF_SPACE") is not None
|
| 167 |
-
app.launch(share=
|
|
|
|
| 164 |
|
| 165 |
# Configure launch based on environment
|
| 166 |
is_huggingface = os.getenv("HF_SPACE") is not None
|
| 167 |
+
app.launch(share=True, server_name="0.0.0.0" if is_huggingface else None)
|