-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
feature:st.file_uploaderRelated to the `st.file_uploader` widgetRelated to the `st.file_uploader` widgetstatus:cannot-reproduceBug cannot be reproduced by the Streamlit teamBug cannot be reproduced by the Streamlit team
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
I was using st.file_uploader in Pycharm, and everything was working until randomly, I wasn't able to upload files when I ran the streamlit app. Now, when I click on "Browse Files" in the app, nothing happens and the outline of the box becomes red when I click on it.
Reproducible Code Example
import streamlit as st
upload = st.file_uploader("Upload Data Here")
if upload is not None:
data = pd.read_excel(upload)Steps To Reproduce
- Import streamlit
- Add a file uploader to the code
- run streamlit and try uploading a file
Expected Behavior
When you run streamlit, you can click "Browse Files," and then choose a file. It will then proceed to run the rest of your code.
Current Behavior
I click on "Browse Files," and nothing happens. If I click on the upload widget, the box outline becomes red.
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: 1.11.0
- Python version: 3.10.4
- Operating System: MacOs 12.5
- Browser: Chrome
- Virtual environment: Conda
Additional Information
Are you willing to submit a PR?
- Yes, I am willing to submit a PR!
Metadata
Metadata
Assignees
Labels
feature:st.file_uploaderRelated to the `st.file_uploader` widgetRelated to the `st.file_uploader` widgetstatus:cannot-reproduceBug cannot be reproduced by the Streamlit teamBug cannot be reproduced by the Streamlit team

