Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,8 @@ with upload_tab:
|
|
125 |
"Either upload a document, or enter the text manually."
|
126 |
)
|
127 |
uploaded_file = st.file_uploader(
|
128 |
-
"Upload a document (pdf):", type=["pdf"]
|
|
|
129 |
)
|
130 |
document_text = st.text_area("Enter text")
|
131 |
if st.button("Add document to index") and (uploaded_file or document_text):
|
|
|
125 |
"Either upload a document, or enter the text manually."
|
126 |
)
|
127 |
uploaded_file = st.file_uploader(
|
128 |
+
"Upload a document (pdf):", type=["pdf"],
|
129 |
+
accept_multiple_files=True
|
130 |
)
|
131 |
document_text = st.text_area("Enter text")
|
132 |
if st.button("Add document to index") and (uploaded_file or document_text):
|