Dooratre commited on
Commit
bfd77d2
·
verified ·
1 Parent(s): a3e7d1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,10 +83,10 @@ def submit():
83
 
84
  response = "Placeholder response" # Update with actual response generation logic
85
 
86
- response_message = "Bot: " + response
87
  update_conversation_history(response_message)
88
 
89
- return jsonify({'response':response})
90
 
91
 
92
  @app.route('/clear_history')
 
83
 
84
  response = "Placeholder response" # Update with actual response generation logic
85
 
86
+ = "Bot: " + response
87
  update_conversation_history(response_message)
88
 
89
+ return response_message
90
 
91
 
92
  @app.route('/clear_history')