Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ combined_models = []
|
|
36 |
combined_models.extend(whisper_models)
|
37 |
combined_models.extend(custom_models)
|
38 |
|
39 |
-
usage = requests.get('https://api
|
40 |
usage = json.loads(usage.text)
|
41 |
deepL_character_usage = str(usage['character_count'])
|
42 |
print("deepL_character_usage")
|
|
|
36 |
combined_models.extend(whisper_models)
|
37 |
combined_models.extend(custom_models)
|
38 |
|
39 |
+
usage = requests.get('https://api.deepl.com/v2/usage', headers=headers)
|
40 |
usage = json.loads(usage.text)
|
41 |
deepL_character_usage = str(usage['character_count'])
|
42 |
print("deepL_character_usage")
|