Spaces:
Sleeping
Sleeping
Anurag Bhardwaj
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -119,8 +119,7 @@ with gr.Blocks() as app:
|
|
119 |
)
|
120 |
|
121 |
# Rate limiting: 1 request at a time, with a max queue size of 3
|
122 |
-
app.queue(
|
123 |
-
|
124 |
# Uncomment the lines below for advanced multiple GPU support
|
125 |
pipe.enable_model_cpu_offload()
|
126 |
pipe.enable_sequential_cpu_offload()
|
|
|
119 |
)
|
120 |
|
121 |
# Rate limiting: 1 request at a time, with a max queue size of 3
|
122 |
+
app.queue(max_size=3).launch()
|
|
|
123 |
# Uncomment the lines below for advanced multiple GPU support
|
124 |
pipe.enable_model_cpu_offload()
|
125 |
pipe.enable_sequential_cpu_offload()
|