NihalGazi commited on
Commit
bc28440
·
verified ·
1 Parent(s): ea1af42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -59,6 +59,7 @@ async def on_raw_reaction_add(payload):
59
  response = await asyncio.to_thread(requests.get, url)
60
  response.raise_for_status()
61
  translated_text = response.text.strip()
 
62
  except Exception as e:
63
  print(f"Error during GET request: {e}")
64
  translated_text = "[Error translating text]"
 
59
  response = await asyncio.to_thread(requests.get, url)
60
  response.raise_for_status()
61
  translated_text = response.text.strip()
62
+ print(translated_text)
63
  except Exception as e:
64
  print(f"Error during GET request: {e}")
65
  translated_text = "[Error translating text]"