Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
·
aa474cb
1
Parent(s):
a241304
Update app.py
Browse files
app.py
CHANGED
@@ -180,6 +180,6 @@ with gr.Blocks() as myface:
|
|
180 |
myface.queue(concurrency_count=8)
|
181 |
myface.launch(enable_queue=True, inline=True)
|
182 |
while True:
|
183 |
-
if queue.qsize() >=
|
184 |
queue.queue.clear()
|
185 |
time.sleep(30)
|
|
|
180 |
myface.queue(concurrency_count=8)
|
181 |
myface.launch(enable_queue=True, inline=True)
|
182 |
while True:
|
183 |
+
if queue.qsize() >= 20:
|
184 |
queue.queue.clear()
|
185 |
time.sleep(30)
|