IsmaeelPandey commited on
Commit
b1717ac
·
1 Parent(s): 40b63ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,6 +66,6 @@ context = [] # the context stores a conversation history, you can use this to ma
66
  if(prompt):
67
  with st.chat_message(option):
68
  st.write(f"{datetime.datetime.now()} :red[{option}:] ", prompt)
69
- context = qachain({"query": user_input})
70
 
71
  st.write(f"{datetime.datetime.now()}", context)
 
66
  if(prompt):
67
  with st.chat_message(option):
68
  st.write(f"{datetime.datetime.now()} :red[{option}:] ", prompt)
69
+ context = qachain({"query": prompt})
70
 
71
  st.write(f"{datetime.datetime.now()}", context)