Reverent commited on
Commit
4af6d8d
·
1 Parent(s): 9ca40b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def restart():
41
  api_name="/predict"
42
  )
43
  print("RESTARTED")
44
- time.sleep(60) #Restart Space every 24 hours
45
  except Exception as e:
46
  print("NO INTERNET")
47
  print(str(e))
 
41
  api_name="/predict"
42
  )
43
  print("RESTARTED")
44
+ time.sleep(86400) #Restart Space every 24 hours
45
  except Exception as e:
46
  print("NO INTERNET")
47
  print(str(e))