Spaces:
Runtime error
Runtime error
jhj0517 commited on
Commit ·
677f0fa
1
Parent(s): 5567125
Remove debugging line
Browse files
tests/test_translation.py
CHANGED
|
@@ -38,10 +38,6 @@ def test_deepl_api(
|
|
| 38 |
deepl_api = DeepLAPI()
|
| 39 |
|
| 40 |
api_key = os.getenv("DEEPL_API_KEY")
|
| 41 |
-
if api_key:
|
| 42 |
-
print(f"API Key is available: {api_key[:5]}~, length: {len(api_key)}")
|
| 43 |
-
else:
|
| 44 |
-
print("API Key is not available")
|
| 45 |
|
| 46 |
result_str, file_paths = deepl_api.translate_deepl(
|
| 47 |
auth_key=api_key,
|
|
|
|
| 38 |
deepl_api = DeepLAPI()
|
| 39 |
|
| 40 |
api_key = os.getenv("DEEPL_API_KEY")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
result_str, file_paths = deepl_api.translate_deepl(
|
| 43 |
auth_key=api_key,
|