Update app.py
Browse files
app.py
CHANGED
|
@@ -37,10 +37,12 @@ data = {
|
|
| 37 |
table = pd.DataFrame.from_dict(data)
|
| 38 |
|
| 39 |
new_chat = True
|
|
|
|
| 40 |
|
| 41 |
def chatbot_response(user_message):
|
| 42 |
|
| 43 |
global new_chat
|
|
|
|
| 44 |
# Check if the user input is a question
|
| 45 |
is_question = "?" in user_message
|
| 46 |
|
|
|
|
| 37 |
table = pd.DataFrame.from_dict(data)
|
| 38 |
|
| 39 |
new_chat = True
|
| 40 |
+
chat_history_ids = None
|
| 41 |
|
| 42 |
def chatbot_response(user_message):
|
| 43 |
|
| 44 |
global new_chat
|
| 45 |
+
global chat_history_ids
|
| 46 |
# Check if the user input is a question
|
| 47 |
is_question = "?" in user_message
|
| 48 |
|