Spaces:
Build error
Build error
Update Gradio to 4.44.1 and fix queue configuration
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -90,9 +90,9 @@ iface = gr.Interface(
|
|
| 90 |
)
|
| 91 |
|
| 92 |
# Launch with specific configurations for Spaces
|
|
|
|
| 93 |
iface.launch(
|
| 94 |
server_name="0.0.0.0",
|
| 95 |
server_port=7860,
|
| 96 |
-
share=False
|
| 97 |
-
enable_queue=True
|
| 98 |
)
|
|
|
|
| 90 |
)
|
| 91 |
|
| 92 |
# Launch with specific configurations for Spaces
|
| 93 |
+
iface.queue() # Enable queuing
|
| 94 |
iface.launch(
|
| 95 |
server_name="0.0.0.0",
|
| 96 |
server_port=7860,
|
| 97 |
+
share=False
|
|
|
|
| 98 |
)
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio==4.
|
| 2 |
torch==2.1.2
|
| 3 |
transformers==4.37.2
|
| 4 |
accelerate==0.26.1
|
|
|
|
| 1 |
+
gradio==4.44.1
|
| 2 |
torch==2.1.2
|
| 3 |
transformers==4.37.2
|
| 4 |
accelerate==0.26.1
|