rtabrizi commited on
Commit
a7a8f80
·
1 Parent(s): 2b78171

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -99,7 +99,6 @@ class Retriever:
99
 
100
  return retrieved_texts
101
 
102
-
103
  class RAG:
104
  def __init__(self,
105
  file_path,
@@ -164,7 +163,7 @@ st.title("RAG Model Query Interface Chatbot")
164
 
165
  # Initialize session state to keep track of the list of answers and questions
166
  if 'history' not in st.session_state:
167
- st.session_state.history = []
168
 
169
  question = st.text_input("Enter your question:")
170
 
 
99
 
100
  return retrieved_texts
101
 
 
102
  class RAG:
103
  def __init__(self,
104
  file_path,
 
163
 
164
  # Initialize session state to keep track of the list of answers and questions
165
  if 'history' not in st.session_state:
166
+ st.session_state['history'] = []
167
 
168
  question = st.text_input("Enter your question:")
169