netero89 commited on
Commit
d341158
·
verified ·
1 Parent(s): 3d9f61d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,8 +95,8 @@ def build_the_bot2(input_text):
95
  from langchain_core.messages import AIMessage, HumanMessage
96
 
97
  #preserve chat history and create response
98
- # global chat_context
99
- # chat_context = []
100
  def chat2(chat_history, user_input,chat_context):
101
  #print(chat_history)
102
  #print(user_input)
 
95
  from langchain_core.messages import AIMessage, HumanMessage
96
 
97
  #preserve chat history and create response
98
+ global chat_context
99
+ chat_context = []
100
  def chat2(chat_history, user_input,chat_context):
101
  #print(chat_history)
102
  #print(user_input)