fffiloni commited on
Commit
b666497
·
verified ·
1 Parent(s): 15f8463

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def get_sleep_time(hf_token):
50
  gcTimeout = response.json()['runtime']['gcTimeout']
51
  except:
52
  gcTimeout = None
53
- sleep_time = gcTimeout
54
  return gcTimeout
55
 
56
  #sleep_time = get_sleep_time(hf_token)
 
50
  gcTimeout = response.json()['runtime']['gcTimeout']
51
  except:
52
  gcTimeout = None
53
+ global sleep_time = gcTimeout
54
  return gcTimeout
55
 
56
  #sleep_time = get_sleep_time(hf_token)