Spaces:
Runtime error
Runtime error
Ronio Jerico Roque commited on
Commit ·
4c176a1
1
Parent(s): c96f6ba
fix: enhance file uploader to accept multiple files and specific types
Browse files- classes/Seo_Off_Page.py +1 -1
classes/Seo_Off_Page.py
CHANGED
|
@@ -81,7 +81,7 @@ class SeoOffPageAnalyst:
|
|
| 81 |
with col1:
|
| 82 |
st.write("") # FOR SPACING
|
| 83 |
st.write(self.data_src)
|
| 84 |
-
self.uploaded_files = st.file_uploader(self.analyst_description,
|
| 85 |
if self.uploaded_files:
|
| 86 |
upload.multiple_upload_file(self.uploaded_files)
|
| 87 |
|
|
|
|
| 81 |
with col1:
|
| 82 |
st.write("") # FOR SPACING
|
| 83 |
st.write(self.data_src)
|
| 84 |
+
self.uploaded_files = st.file_uploader(self.analyst_description, type=['pdf', 'csv'], accept_multiple_files=True)
|
| 85 |
if self.uploaded_files:
|
| 86 |
upload.multiple_upload_file(self.uploaded_files)
|
| 87 |
|