Araeynn commited on
Commit
36dce1f
·
verified ·
1 Parent(s): 80ed9ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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=" ".join(words[:i * 10]).replace(
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(