I am trying to display file list in collapse state and couldn't find a solution. After running the app, it always display in opened file list which is messy in user's eye. if you guys have any idea on how to achieve it, would help :)
code i am using:
import os
import streamlit as st
st.write('