Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,4 +43,5 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 43 |
|
| 44 |
# 5. Launch the app with strict queuing to protect the CPU
|
| 45 |
if __name__ == "__main__":
|
| 46 |
-
|
|
|
|
|
|
| 43 |
|
| 44 |
# 5. Launch the app with strict queuing to protect the CPU
|
| 45 |
if __name__ == "__main__":
|
| 46 |
+
# Explicitly define the Hugging Face Docker network to prevent localhost errors
|
| 47 |
+
demo.queue(default_concurrency_limit=1).launch(server_name="0.0.0.0", server_port=7860)
|