Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
b5e2c18
1
Parent(s):
8e854d8
Update app.py
Browse files
app.py
CHANGED
@@ -137,8 +137,8 @@ def reset_queue_periodically():
|
|
137 |
queue.queue.clear()
|
138 |
start_time = time.time()
|
139 |
|
140 |
-
reset_queue_thread = Thread(target=reset_queue_periodically, daemon=True)
|
141 |
-
reset_queue_thread.start()
|
142 |
|
143 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
144 |
run.click(send_it2, inputs=[prompt, noise_level], outputs=[output2])
|
|
|
137 |
queue.queue.clear()
|
138 |
start_time = time.time()
|
139 |
|
140 |
+
reset_queue_thread = Thread(target=reset_queue_periodically, daemon=True)
|
141 |
+
reset_queue_thread.start()
|
142 |
|
143 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
144 |
run.click(send_it2, inputs=[prompt, noise_level], outputs=[output2])
|