Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -60,13 +60,11 @@ async def uptime(ctx):
|
|
60 |
|
61 |
@bot.command()
|
62 |
async def ai(ctx, *, input_text: str):
|
63 |
-
"""Ask our AI model a question.
|
64 |
result = ask(input_text)
|
65 |
|
66 |
# Create an embed with the AI's response
|
67 |
-
embed = discord.Embed(title="AI Response", color=discord.Color.green())
|
68 |
-
embed.add_field(name="response", value=result, inline=False)
|
69 |
-
embed.add_field(name="Info", value="Session resets every `1` message!\nModel Name: `Mistral 7B`", inline=False)
|
70 |
embed.set_footer(text="Created by Cosmos")
|
71 |
|
72 |
# Reply with the embed
|
|
|
60 |
|
61 |
@bot.command()
|
62 |
async def ai(ctx, *, input_text: str):
|
63 |
+
"""Ask our AI model a question."""
|
64 |
result = ask(input_text)
|
65 |
|
66 |
# Create an embed with the AI's response
|
67 |
+
embed = discord.Embed(title="AI Response", description=result color=discord.Color.green())
|
|
|
|
|
68 |
embed.set_footer(text="Created by Cosmos")
|
69 |
|
70 |
# Reply with the embed
|