phenomenon1981
commited on
Commit
•
783dbcd
1
Parent(s):
e724a75
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
|
20 |
|
21 |
def restart_script_periodically():
|
22 |
while True:
|
23 |
-
random_time = random.randint(
|
24 |
time.sleep(random_time)
|
25 |
os.execl(sys.executable, sys.executable, *sys.argv)
|
26 |
|
|
|
20 |
|
21 |
def restart_script_periodically():
|
22 |
while True:
|
23 |
+
random_time = random.randint(480, 600)
|
24 |
time.sleep(random_time)
|
25 |
os.execl(sys.executable, sys.executable, *sys.argv)
|
26 |
|