|
@@ -103,7 +103,7 @@ async def translate(request: TranslationRequest):
|
|
)
|
|
)
|
|
|
|
|
|
# Create translation prompt
|
|
# Create translation prompt
|
|
- prompt = f"Translate the following Chinese text to English:\n\n{request.text}\n\nTranslation:"
|
|
|
|
|
|
+ prompt = f"Translate the following text to English:\n\n{request.text}\n\nTranslation:"
|
|
|
|
|
|
# Run the translation
|
|
# Run the translation
|
|
result = await asyncio.get_event_loop().run_in_executor(
|
|
result = await asyncio.get_event_loop().run_in_executor(
|