small refactor
This commit is contained in:
parent
f7d23ef603
commit
0edf05669e
2 changed files with 1 additions and 25 deletions
|
@ -25,7 +25,7 @@ def index():
|
|||
elif option == "chat":
|
||||
messages.append(f"User: {user_message}")
|
||||
|
||||
ai_response = "AI: " + api.send_message(user_message, 1)
|
||||
ai_response = "AI: " + api.send_message(user_message, 3)
|
||||
messages.append(ai_response)
|
||||
|
||||
return render_template('index.html', messages=messages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue