New Changes.
This commit is contained in:
parent
af1353a41a
commit
0f3b5cb49a
3 changed files with 7 additions and 6 deletions
|
@ -1,5 +1,3 @@
|
|||
#!venv/bin/python
|
||||
|
||||
from flask import Flask, request, render_template
|
||||
from api import API
|
||||
from voice_recognition import Voice
|
||||
|
@ -40,7 +38,7 @@ def index():
|
|||
|
||||
system += "The chat log is now finished."
|
||||
|
||||
ai_response = "AI: " + api.send_message(user_message, 5, system)
|
||||
ai_response = "AI: " + api.send_message(user_message, 4, system)
|
||||
messages.append(ai_response)
|
||||
|
||||
return render_template('index.html', messages=messages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue