Update bot.py
Browse files
bot.py
CHANGED
|
@@ -62,6 +62,6 @@ def main():
|
|
| 62 |
|
| 63 |
if __name__ == '__main__':
|
| 64 |
# Apply nest_asyncio to support nested event loops in HF Spaces
|
| 65 |
-
nest_asyncio.apply()
|
| 66 |
# For HF Spaces, using run_polling() is simpler and less dependent on DNS/HTTPS issues.
|
| 67 |
main()
|
|
|
|
| 62 |
|
| 63 |
if __name__ == '__main__':
|
| 64 |
# Apply nest_asyncio to support nested event loops in HF Spaces
|
| 65 |
+
# nest_asyncio.apply()
|
| 66 |
# For HF Spaces, using run_polling() is simpler and less dependent on DNS/HTTPS issues.
|
| 67 |
main()
|