Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -194,6 +194,7 @@ async def chat(request: MessageRequest):
|
|
194 |
response1 = response
|
195 |
try:
|
196 |
response1 = translator.translate(response, dest=language_code).text
|
|
|
197 |
except Exception as e:
|
198 |
# Handle translation errors
|
199 |
print(f"Translation error: {e}")
|
|
|
194 |
response1 = response
|
195 |
try:
|
196 |
response1 = translator.translate(response, dest=language_code).text
|
197 |
+
print(response1)
|
198 |
except Exception as e:
|
199 |
# Handle translation errors
|
200 |
print(f"Translation error: {e}")
|