Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
@@ -38,13 +38,13 @@ async def on_ready():
|
|
38 |
|
39 |
|
40 |
@client.hybrid_command(
|
41 |
-
name="
|
42 |
with_app_command=True,
|
43 |
-
description="Enter some text to chat with the bot! Like this: /
|
44 |
)
|
45 |
@app_commands.guilds(MY_GUILD)
|
46 |
-
async def
|
47 |
-
"""Command that begins a new conversation with
|
48 |
try:
|
49 |
await falcon_chat(ctx, prompt)
|
50 |
except Exception as e:
|
|
|
38 |
|
39 |
|
40 |
@client.hybrid_command(
|
41 |
+
name="falcon180b",
|
42 |
with_app_command=True,
|
43 |
+
description="Enter some text to chat with the bot! Like this: /falcon180b Hello, how are you?",
|
44 |
)
|
45 |
@app_commands.guilds(MY_GUILD)
|
46 |
+
async def falcon180b(ctx, prompt: str):
|
47 |
+
"""Command that begins a new conversation with Falcon180b"""
|
48 |
try:
|
49 |
await falcon_chat(ctx, prompt)
|
50 |
except Exception as e:
|