phenomenon1981 commited on
Commit
cb10791
1 Parent(s): 45936c4

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(60) # 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(120) # 5 minutes
17
  os.execl(sys.executable, sys.executable, *sys.argv)
18
 
19
  restart_thread = Thread(target=restart_script_periodically, daemon=True)