jin-nin commited on
Commit
b456b5b
1 Parent(s): 8a55336

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -8,9 +8,6 @@ import time
8
  from queue import Queue
9
  from threading import Thread
10
  import emoji
11
- from diffusers import DiffusionPipeline
12
-
13
- pipeline = DiffusionPipeline.from_pretrained("XpucT/Deliberate")
14
 
15
  def pipe(val):
16
  return val
@@ -25,7 +22,7 @@ proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
25
 
26
  def restart_script_periodically():
27
  while True:
28
- time.sleep(600) # 100 minutes
29
  try:
30
  os.execl(sys.executable, sys.executable, *sys.argv)
31
  except:
 
8
  from queue import Queue
9
  from threading import Thread
10
  import emoji
 
 
 
11
 
12
  def pipe(val):
13
  return val
 
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: