Locutusque commited on
Commit
a2fb289
·
verified ·
1 Parent(s): f805c5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def reload_models_task(model_choices):
66
 
67
  while not SHUTDOWN_EVENT.is_set():
68
  # Wait for 15 minutes (900 seconds)
69
- if SHUTDOWN_EVENT.wait(900):
70
  # If event is set, exit the loop
71
  break
72
 
 
66
 
67
  while not SHUTDOWN_EVENT.is_set():
68
  # Wait for 15 minutes (900 seconds)
69
+ if SHUTDOWN_EVENT.wait(240):
70
  # If event is set, exit the loop
71
  break
72