Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ col1, col2 = st.columns(2)
|
|
49 |
|
50 |
with col1:
|
51 |
# File selection
|
52 |
-
uploaded_files = st.file_uploader("Upload document(s) [/image(s)]:", type=["docx", "pdf", "pptx", "jpg", "jpeg", "png"], accept_multiple_files=True,
|
53 |
selected_file = st.selectbox("Select a document (/an image):", uploaded_files, format_func=lambda file: file.name if file else "None", key="fileSelect")
|
54 |
|
55 |
# Display selected file
|
|
|
49 |
|
50 |
with col1:
|
51 |
# File selection
|
52 |
+
uploaded_files = st.file_uploader("Upload document(s) [/image(s)]:", type=["docx", "pdf", "pptx", "jpg", "jpeg", "png"], accept_multiple_files=True, key="fileUpload")
|
53 |
selected_file = st.selectbox("Select a document (/an image):", uploaded_files, format_func=lambda file: file.name if file else "None", key="fileSelect")
|
54 |
|
55 |
# Display selected file
|