Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
8bfe9b1
1
Parent(s):
6119156
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
|
16 |
|
17 |
def restart_script_periodically():
|
18 |
while True:
|
19 |
-
time.sleep(
|
20 |
try:
|
21 |
os.execl(sys.executable, sys.executable, *sys.argv)
|
22 |
except:
|
|
|
16 |
|
17 |
def restart_script_periodically():
|
18 |
while True:
|
19 |
+
time.sleep(600) # 10 minutes
|
20 |
try:
|
21 |
os.execl(sys.executable, sys.executable, *sys.argv)
|
22 |
except:
|