Update app.py
Browse files
app.py
CHANGED
@@ -147,8 +147,7 @@ if prompt := st.chat_input("How can I help you today?"):
|
|
147 |
message_placeholder = st.empty()
|
148 |
full_response = ""
|
149 |
message_history = "\n".join(list(get_message_history())[-3:])
|
150 |
-
|
151 |
-
result = qa_chain(question)
|
152 |
output = [result['result']]
|
153 |
|
154 |
def generate_pdf():
|
|
|
147 |
message_placeholder = st.empty()
|
148 |
full_response = ""
|
149 |
message_history = "\n".join(list(get_message_history())[-3:])
|
150 |
+
result = qa_chain(prompt)
|
|
|
151 |
output = [result['result']]
|
152 |
|
153 |
def generate_pdf():
|