lunarflu HF Staff commited on
Commit
ebc2265
·
1 Parent(s): 553829d
Files changed (1) hide show
  1. falcon.py +3 -3
falcon.py CHANGED
@@ -54,11 +54,11 @@ async def try_falcon(interaction, prompt):
54
  if interaction.channel.id == FALCON_CHANNEL_ID:
55
  if os.environ.get('TEST_ENV') == 'True':
56
  print("Safetychecks passed for try_falcon")
57
- await interaction.response.send_message(f"Working on it!")
58
  channel = interaction.channel
59
- message = await channel.send(f"Creating thread...")
60
  thread = await message.create_thread(name=f'{prompt}', auto_archive_duration=60) # interaction.user
61
- await thread.send(f"[DISCLAIMER: HuggingBot is a **highly experimental** beta feature; The Falcon model and system prompt can be found here: https://huggingface.co/spaces/HuggingFaceH4/falcon-chat]")
62
 
63
  if os.environ.get('TEST_ENV') == 'True':
64
  print("Running falcon_initial_generation...")
 
54
  if interaction.channel.id == FALCON_CHANNEL_ID:
55
  if os.environ.get('TEST_ENV') == 'True':
56
  print("Safetychecks passed for try_falcon")
57
+ await interaction.response.send_message("Working on it!")
58
  channel = interaction.channel
59
+ message = await channel.send("Creating thread...")
60
  thread = await message.create_thread(name=f'{prompt}', auto_archive_duration=60) # interaction.user
61
+ await thread.send("[DISCLAIMER: HuggingBot is a **highly experimental** beta feature; The Falcon model and system prompt can be found here: https://huggingface.co/spaces/HuggingFaceH4/falcon-chat]")
62
 
63
  if os.environ.get('TEST_ENV') == 'True':
64
  print("Running falcon_initial_generation...")