Update app.py
Browse files
app.py
CHANGED
@@ -40,11 +40,8 @@ data = {
|
|
40 |
}
|
41 |
table = pd.DataFrame.from_dict(data)
|
42 |
|
43 |
-
history = None
|
44 |
-
|
45 |
def chatbot_response(user_message, history=[]):
|
46 |
|
47 |
-
global history
|
48 |
# Check if the user input is a question
|
49 |
is_question = "?" in user_message
|
50 |
|
|
|
40 |
}
|
41 |
table = pd.DataFrame.from_dict(data)
|
42 |
|
|
|
|
|
43 |
def chatbot_response(user_message, history=[]):
|
44 |
|
|
|
45 |
# Check if the user input is a question
|
46 |
is_question = "?" in user_message
|
47 |
|