phenomenon1981 commited on
Commit
f17ea80
1 Parent(s): 85f710a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0", live=Tru
13
 
14
  def restart_script_periodically():
15
  while True:
16
- time.sleep(160) # 5 minutes
17
  os.execl(sys.executable, sys.executable, *sys.argv)
18
 
19
  restart_thread = Thread(target=restart_script_periodically, daemon=True)
 
13
 
14
  def restart_script_periodically():
15
  while True:
16
+ time.sleep(600) # 5 minutes
17
  os.execl(sys.executable, sys.executable, *sys.argv)
18
 
19
  restart_thread = Thread(target=restart_script_periodically, daemon=True)