Radosław Wolnik commited on
Commit
f2893b7
·
1 Parent(s): 058ca9a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ async def on_message(message):
42
  message_counts[message.channel.id] = 0 # Reset the counter
43
 
44
 
45
- response = ai.text_generation("message", temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0)
46
  splited_response = split_string(response)
47
  for part in splited_response:
48
  await channel.send(part)
 
42
  message_counts[message.channel.id] = 0 # Reset the counter
43
 
44
 
45
+ response = ai.text_generation(str(message), temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0)
46
  splited_response = split_string(response)
47
  for part in splited_response:
48
  await channel.send(part)