Skip to content

Commit

Permalink
Merge pull request #42 from TheDataGuild/revert/replace-chat-with-qa-ui
Browse files Browse the repository at this point in the history
replaced chat UI with Q&A UI
  • Loading branch information
Quantisan authored Sep 29, 2023
2 parents 99fa722 + a7637d3 commit de3488f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mind_palace/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
xml_dir = "./resources/xmls/12-pdfs-from-steve-aug-22/"
gpt_model = "gpt-3.5-turbo"

st.set_page_config(page_title="Chatting with Steve's PDFs")
st.title("Chat with Steve's PDFs 💬")
st.set_page_config(page_title="Q&A with Steve's PDFs")
st.title("Q&A with Steve's PDFs 💬")

with st.sidebar:
st.markdown("Conversation History")
Expand Down Expand Up @@ -54,6 +54,8 @@ def get_welcome_message(abstracts):
"content": "Ask me a question about these papers.",
},
]
else:
st.session_state.messages = []


if prompt := st.chat_input(
Expand Down

0 comments on commit de3488f

Please sign in to comment.