Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,6 +73,5 @@ demo = gr.Interface(
|
|
| 73 |
# Launch the interface safely with no unexpected keyword arguments
|
| 74 |
demo.launch()
|
| 75 |
|
| 76 |
-
#
|
| 77 |
-
|
| 78 |
-
time.sleep(3600)
|
|
|
|
| 73 |
# Launch the interface safely with no unexpected keyword arguments
|
| 74 |
demo.launch()
|
| 75 |
|
| 76 |
+
# Launch the interface and let Gradio natively handle the persistent background worker
|
| 77 |
+
demo.queue().launch(server_name="0.0.0.0", server_port=7860)
|
|
|