Update falcon.py
Browse files
falcon.py
CHANGED
|
@@ -65,7 +65,7 @@ async def try_falcon(interaction, prompt):
|
|
| 65 |
output_text = await loop.run_in_executor(None, falcon_initial_generation, prompt, instructions, thread)
|
| 66 |
falcon_userid_threadid_dictionary[thread.id] = interaction.user.id
|
| 67 |
|
| 68 |
-
await thread.send(
|
| 69 |
|
| 70 |
except Exception as e:
|
| 71 |
print(f"try_falcon Error: {e}")
|
|
@@ -101,7 +101,7 @@ async def continue_falcon(message):
|
|
| 101 |
output_text = data[-1][-1]
|
| 102 |
|
| 103 |
threadid_conversation[message.channel.id] = full_generation # overwrite the old file
|
| 104 |
-
await message.reply(
|
| 105 |
|
| 106 |
except Exception as e:
|
| 107 |
print(f"continue_falcon Error: {e}")
|
|
|
|
| 65 |
output_text = await loop.run_in_executor(None, falcon_initial_generation, prompt, instructions, thread)
|
| 66 |
falcon_userid_threadid_dictionary[thread.id] = interaction.user.id
|
| 67 |
|
| 68 |
+
await thread.send(output_text)
|
| 69 |
|
| 70 |
except Exception as e:
|
| 71 |
print(f"try_falcon Error: {e}")
|
|
|
|
| 101 |
output_text = data[-1][-1]
|
| 102 |
|
| 103 |
threadid_conversation[message.channel.id] = full_generation # overwrite the old file
|
| 104 |
+
await message.reply(output_text)
|
| 105 |
|
| 106 |
except Exception as e:
|
| 107 |
print(f"continue_falcon Error: {e}")
|