pdarleyjr commited on
Commit
8fe7734
·
1 Parent(s): 21b5512

Update Gradio to 4.44.1 and fix queue configuration

Browse files
Files changed (2) hide show
  1. app.py +2 -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.19.2
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