1
0

Add a chat reset

This commit is contained in:
vlad 2024-10-09 11:48:14 -07:00
parent a38d46aa30
commit c7c903ec61

View File

@ -80,5 +80,10 @@ def prompt():
image = screenshot
)
@app.route('/reset')
def reset():
chatbot.message_history = []
return "OK"
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=5000)