Spaces:
Runtime error
Runtime error
Commit
•
3490b55
1
Parent(s):
111a047
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ proc1=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
|
19 |
|
20 |
def restart_script_periodically():
|
21 |
while True:
|
22 |
-
random_time = random.randint(
|
23 |
time.sleep(random_time)
|
24 |
os.execl(sys.executable, sys.executable, *sys.argv)
|
25 |
|
|
|
19 |
|
20 |
def restart_script_periodically():
|
21 |
while True:
|
22 |
+
random_time = random.randint(480, 600)
|
23 |
time.sleep(random_time)
|
24 |
os.execl(sys.executable, sys.executable, *sys.argv)
|
25 |
|