phenomenon1981 commited on
Commit
5dadf70
1 Parent(s): f2c27b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
17
  def reset_queue_periodically():
18
  start_time = time.time()
19
  while True:
20
- if time.time() - start_time > 150: # 150 seconds
21
  queue.queue.clear()
22
  start_time = time.time()
23
 
 
17
  def reset_queue_periodically():
18
  start_time = time.time()
19
  while True:
20
+ if time.time() - start_time > 300: # 300 seconds
21
  queue.queue.clear()
22
  start_time = time.time()
23