Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
@@ -672,7 +672,8 @@ async def falcon(ctx, *, prompt: str):
|
|
672 |
await ctx.reply(f"{e} cc <@811235357663297546> (falconprivate error)")
|
673 |
await ctx.message.remove_reaction('<a:loading:1114111677990981692>', bot.user)
|
674 |
await ctx.message.add_reaction('<:disagree:1098628957521313892>')
|
675 |
-
#----------------------------------------------------------------------------------------------------------------------------
|
|
|
676 |
@bot.event
|
677 |
async def on_message(message):
|
678 |
await asyncio.sleep(5)
|
@@ -715,7 +716,8 @@ async def on_message(message):
|
|
715 |
print(f"Error: {e}")
|
716 |
if message.channel.id == 1116089829147557999:
|
717 |
await message.reply(f"{e} cc <@811235357663297546> (falcon error)") # ping lunarflu if something breaks
|
718 |
-
await asyncio.sleep(5)
|
|
|
719 |
#----------------------------------------------------------------------------------------------------------------------------
|
720 |
# hackerllama magic to run the bot in a Hugging Face Space
|
721 |
def run_bot():
|
|
|
672 |
await ctx.reply(f"{e} cc <@811235357663297546> (falconprivate error)")
|
673 |
await ctx.message.remove_reaction('<a:loading:1114111677990981692>', bot.user)
|
674 |
await ctx.message.add_reaction('<:disagree:1098628957521313892>')
|
675 |
+
#----------------------------------------------------------------------------------------------------------------------------
|
676 |
+
'''
|
677 |
@bot.event
|
678 |
async def on_message(message):
|
679 |
await asyncio.sleep(5)
|
|
|
716 |
print(f"Error: {e}")
|
717 |
if message.channel.id == 1116089829147557999:
|
718 |
await message.reply(f"{e} cc <@811235357663297546> (falcon error)") # ping lunarflu if something breaks
|
719 |
+
await asyncio.sleep(5)
|
720 |
+
'''
|
721 |
#----------------------------------------------------------------------------------------------------------------------------
|
722 |
# hackerllama magic to run the bot in a Hugging Face Space
|
723 |
def run_bot():
|