File Uploader not giving a pop up to upload file

Summary

File Uploader not giving a pop up to upload file

Steps to reproduce

Code snippet:


import streamlit as st

uploaded_file = st.file_uploader("Choose your own file")

If applicable, please provide the steps we should take to reproduce the error or specified behavior.

I can reproduce it on my own machine but not sure what state caused this.

Expected behavior:

Used to be able to choose a file

Actual behavior:

No error, just nothing pops up

Debug info

  • Streamlit version: 1.16.0
  • Python version: 3.10.9
  • pyenv 2.3.9
  • OS version: macOS Monterey 12.4
  • Browser version: Chrome 108.0.5359.124 (Official Build) (arm64)

Requirements file

Pyenv

streamlit

Links

  • Link to your GitHub repo:
  • Link to your deployed app: askdata.streamlit.app

Additional information

Posting this in case other people run into it. Restarting computer and will see if issue persists.

Hey @KevinRPan, welcome to our forum :balloon:

I just visited your app and can click on the file_uploader without problem. It would successfully open a pop up so I can select a file.

Are you still encountering the issue? Maybe some security settings in your browser?

Best,

Thanks arnaud. The issue seems to be resolved after computer restart.