Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -129,9 +129,8 @@ async def on_message(message):
|
|
129 |
max_new_tokens=4096)
|
130 |
with open(f"data/{guild_name}/{msgchannel_name}", "a") as f:
|
131 |
f.write(f"GPT4 Correct Assistant: {output}")
|
132 |
-
words = output.split()
|
133 |
embed = discord.Embed(title=title,
|
134 |
-
description=
|
135 |
f"<title>{title}</title>", ""),
|
136 |
color=0x1E81B0)
|
137 |
embed.set_footer(
|
|
|
129 |
max_new_tokens=4096)
|
130 |
with open(f"data/{guild_name}/{msgchannel_name}", "a") as f:
|
131 |
f.write(f"GPT4 Correct Assistant: {output}")
|
|
|
132 |
embed = discord.Embed(title=title,
|
133 |
+
description=output.replace(
|
134 |
f"<title>{title}</title>", ""),
|
135 |
color=0x1E81B0)
|
136 |
embed.set_footer(
|