Skip to content

Commit

Permalink
replaced chat UI with Q&A UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantisan committed Sep 29, 2023
1 parent 99fa722 commit a7637d3
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 a7637d3

Please sign in to comment.