Spaces:
Sleeping
Sleeping
Chandranshu Jain
commited on
Commit
•
3fd640b
1
Parent(s):
1e6b6ed
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,10 @@ def embedding(chunk,query):
|
|
94 |
def main():
|
95 |
st.header("Chat with your pdf💁")
|
96 |
st.title("Menu:")
|
97 |
-
|
|
|
|
|
|
|
98 |
query = st.text_input("Ask a Question from the PDF File", key="query")
|
99 |
if st.button("Submit & Process", key="process_button"):
|
100 |
with st.spinner("Processing..."):
|
|
|
94 |
def main():
|
95 |
st.header("Chat with your pdf💁")
|
96 |
st.title("Menu:")
|
97 |
+
with st.sidebar:
|
98 |
+
st.title("PDF FILE UPLOAD:")
|
99 |
+
pdf_docs = st.file_uploader("Upload your PDF File and Click on the Submit & Process Button", accept_multiple_files=False, key="pdf_uploader")
|
100 |
+
|
101 |
query = st.text_input("Ask a Question from the PDF File", key="query")
|
102 |
if st.button("Submit & Process", key="process_button"):
|
103 |
with st.spinner("Processing..."):
|