superdup95
commited on
Commit
•
7c42e93
1
Parent(s):
f8dca5c
Update app.py
Browse files
app.py
CHANGED
@@ -14,12 +14,12 @@ def get_key_info(key):
|
|
14 |
"limit": ""}
|
15 |
if key_avai:
|
16 |
info = get_subscription(key)
|
17 |
-
used = get_usage(key)
|
18 |
gpt4_avai = check_gpt4_availability()
|
19 |
info_dict["account_name"] = info["account_name"]
|
20 |
info_dict["gpt4_availability"] = gpt4_avai
|
21 |
info_dict["has_payment_method"] = info["has_payment_method"]
|
22 |
-
info_dict["used"] = used
|
23 |
info_dict["limit"] = info["hard_limit_usd"]
|
24 |
return info_dict
|
25 |
|
|
|
14 |
"limit": ""}
|
15 |
if key_avai:
|
16 |
info = get_subscription(key)
|
17 |
+
# used = get_usage(key)
|
18 |
gpt4_avai = check_gpt4_availability()
|
19 |
info_dict["account_name"] = info["account_name"]
|
20 |
info_dict["gpt4_availability"] = gpt4_avai
|
21 |
info_dict["has_payment_method"] = info["has_payment_method"]
|
22 |
+
# info_dict["used"] = used
|
23 |
info_dict["limit"] = info["hard_limit_usd"]
|
24 |
return info_dict
|
25 |
|