Commit e836b1c4 by zaid

final commits

parent c180b90d
......@@ -25,7 +25,7 @@ def main():
st.session_state.answer = []
st.header("Chat with multiple PDFs :books:")
st.header("Chat with your Indexed PDFs")
resonse_container, container = st.container(), st.container()
with container:
......@@ -41,7 +41,7 @@ def main():
os.environ['OPENAI_API_KEY'] = OPENAI_API_KEY
st.subheader("Your documents")
pdf_docs = st.file_uploader(
"Upload your PDFs here and click on 'Process'", accept_multiple_files=True)
"Upload your PDFs here and click on 'Process'", accept_multiple_files=True, type=['pdf'])
if st.button("Process"):
with st.spinner("Processing"):
# get pdf text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment