Spaces:
Runtime error
Runtime error
AchyuthGamer
commited on
Commit
•
321f96d
1
Parent(s):
a96e8af
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ proc1=gr.Interface.load("models/AchyuthGamer/ImMagician")
|
|
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(540, 600)
|
23 |
time.sleep(random_time)
|
24 |
os.execl(sys.executable, sys.executable, *sys.argv)
|
25 |
|