abcarelon commited on
Commit
3d964b1
·
1 Parent(s): 07e5870

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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):