jin-nin commited on
Commit
9b08b3e
1 Parent(s): b456b5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
22
 
23
  def restart_script_periodically():
24
  while True:
25
- time.sleep(6000) # 100 minutes
26
  try:
27
  os.execl(sys.executable, sys.executable, *sys.argv)
28
  except:
 
22
 
23
  def restart_script_periodically():
24
  while True:
25
+ time.sleep(600) # 10 minutes
26
  try:
27
  os.execl(sys.executable, sys.executable, *sys.argv)
28
  except: