redfernstech commited on
Commit
932bf9e
·
verified ·
1 Parent(s): d353726

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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}")