lunarflu HF Staff commited on
Commit
fb50535
·
1 Parent(s): cdc20d7

Update falcon.py

Browse files
Files changed (1) hide show
  1. falcon.py +2 -2
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(f"{output_text}")
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(f"{output_text}")
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}")