cbensimon HF staff commited on
Commit
d9b9f70
1 Parent(s): bc9feac

Update spaces/zero/api.py

Browse files
Files changed (1) hide show
  1. spaces/zero/api.py +2 -0
spaces/zero/api.py CHANGED
@@ -134,6 +134,7 @@ class APIClient:
134
  res = self.client.post('/allow', params={
135
  'allowToken': allow_token,
136
  'pid': pid,
 
137
  })
138
  return httpx.codes(res.status_code)
139
 
@@ -145,6 +146,7 @@ class APIClient:
145
  res = self.client.post('/release', params={
146
  'allowToken': allow_token,
147
  'fail': fail,
 
148
  })
149
  return httpx.codes(res.status_code)
150
 
 
134
  res = self.client.post('/allow', params={
135
  'allowToken': allow_token,
136
  'pid': pid,
137
+ 'no_wait': True,
138
  })
139
  return httpx.codes(res.status_code)
140
 
 
146
  res = self.client.post('/release', params={
147
  'allowToken': allow_token,
148
  'fail': fail,
149
+ 'no_wait': True,
150
  })
151
  return httpx.codes(res.status_code)
152