Alternative Solution for Folder picker widget in Cloud Deployment

Hi community,

As far I checked the updates, currently there is no Folder Picker widget natively available in Streamlit. There is a running thread on this:

To circumvent this solution, a solution exists in thread to implement Tkinter’s Folder Picker Widget. This solution works for me in localhost, however it doesn’t work while deploying it to Streamlit cloud.

I was wondering if anyone has figured out a solution which can replicate the folder picker solution instead of just passing a raw string as input prompt from user.

Best,
Debayan