teaevo commited on
Commit
bbb2bb6
1 Parent(s): 9a2afcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def sqlquery(input):
120
  conversation_history.append((input, sql_response))
121
 
122
  html = "<div class='chatbot'>"
123
- for user_msg, resp_msg in history:
124
  html += f"<div class='user_msg'>{user_msg}</div>"
125
  html += f"<div class='resp_msg'>{resp_msg}</div>"
126
  html += "</div>"
 
120
  conversation_history.append((input, sql_response))
121
 
122
  html = "<div class='chatbot'>"
123
+ for user_msg, resp_msg in conversation_history:
124
  html += f"<div class='user_msg'>{user_msg}</div>"
125
  html += f"<div class='resp_msg'>{resp_msg}</div>"
126
  html += "</div>"