Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,6 +103,7 @@ qa_chain = RetrievalQA.from_chain_type(llm=llm2,
|
|
103 |
history_df = pd.DataFrame(columns = ['Question','Answer'])
|
104 |
def qa_bot(query):
|
105 |
response = qa_chain({'query': query})
|
|
|
106 |
return (response['result'])
|
107 |
|
108 |
st.markdown("<h1 style='text-align: center; color: white; font: Charcuterie'>MLSCBot</h1>", unsafe_allow_html=True)
|
|
|
103 |
history_df = pd.DataFrame(columns = ['Question','Answer'])
|
104 |
def qa_bot(query):
|
105 |
response = qa_chain({'query': query})
|
106 |
+
print(response)
|
107 |
return (response['result'])
|
108 |
|
109 |
st.markdown("<h1 style='text-align: center; color: white; font: Charcuterie'>MLSCBot</h1>", unsafe_allow_html=True)
|