Spaces:
Running
Running
Update app.py
Browse files
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]"
|