Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
a5d7254
1
Parent(s):
a35de37
Update app.py
Browse files
app.py
CHANGED
@@ -173,9 +173,9 @@ with gr.Blocks() as myface:
|
|
173 |
|
174 |
|
175 |
|
176 |
-
myface.queue(concurrency_count=8)
|
177 |
-
myface.launch(enable_queue=True, inline=True)
|
178 |
-
while True:
|
179 |
-
|
180 |
-
|
181 |
-
|
|
|
173 |
|
174 |
|
175 |
|
176 |
+
myface.queue(concurrency_count=8)
|
177 |
+
myface.launch(enable_queue=True, inline=True)
|
178 |
+
while True:
|
179 |
+
if queue.qsize() >= 15:
|
180 |
+
queue.queue.clear()
|
181 |
+
time.sleep(30)
|