superdup95 commited on
Commit
9c48cea
1 Parent(s): de308fd

Update api_usage.py

Browse files
Files changed (1) hide show
  1. api_usage.py +1 -1
api_usage.py CHANGED
@@ -32,7 +32,7 @@ def get_subscription(key):
32
  if "id" in result:
33
  rpm = r.headers['x-ratelimit-limit-requests']
34
  org = r.headers['openai-organization']
35
- quota = ""
36
  else:
37
  e = result["error"]["code"]
38
  rpm = "";
 
32
  if "id" in result:
33
  rpm = r.headers['x-ratelimit-limit-requests']
34
  org = r.headers['openai-organization']
35
+ quota = "yes"
36
  else:
37
  e = result["error"]["code"]
38
  rpm = "";