Spaces:
Sleeping
Sleeping
:wrench: Fix Python version to 3.12.2
Browse files- README.md +8 -0
- easyword_translator/run.py +0 -1
README.md
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# 쉬운 전문용어 번역기
|
2 |
|
3 |
## 실행 방법
|
|
|
1 |
+
---
|
2 |
+
title: easyword-translator
|
3 |
+
app_file: easyword_translator/run.py
|
4 |
+
sdk: gradio
|
5 |
+
sdk_version: 4.31.4
|
6 |
+
python_version: 3.12.2
|
7 |
+
---
|
8 |
+
|
9 |
# 쉬운 전문용어 번역기
|
10 |
|
11 |
## 실행 방법
|
easyword_translator/run.py
CHANGED
@@ -108,7 +108,6 @@ def translate(sentence: str) -> str:
|
|
108 |
|
109 |
retries = 0
|
110 |
while "[" not in refined_translation or "]" not in refined_translation:
|
111 |
-
print(refined_translation)
|
112 |
retries += 1
|
113 |
if retries > MAX_RETRIES:
|
114 |
break
|
|
|
108 |
|
109 |
retries = 0
|
110 |
while "[" not in refined_translation or "]" not in refined_translation:
|
|
|
111 |
retries += 1
|
112 |
if retries > MAX_RETRIES:
|
113 |
break
|