8 lines
205 B
Python
8 lines
205 B
Python
from src.translation import translate_text
|
|
|
|
# 测试单个翻译功能
|
|
test_text = "Hello, how are you?"
|
|
print(f"原文: {test_text}")
|
|
translated = translate_text(test_text)
|
|
print(f"译文: {translated}")
|