Is there any way to put all these audio UI in each cell of a audio-link column?

Hi there! I am trying to put streamlit audio widget in each and every cell of a column in dataframe. This is what I did, and I even tried some other options, but gave me widgets outside the dataframe.
How can i achieve this ?

    filtered_df["recordingpath"] = filtered_df["recordingpath"].apply(st.audio)
    data_row = st.container()
    data_row.dataframe(filtered_df)

#streamlit #staudio audio :unicorn: Random

1 Like

Hi @thisisbhupendrasingh,

Thanks for sharing this question!

The audio widget cannot be directly rendered inside a dataframe at this time. You can refer to our docs here for elements you can render inside a dataframe.

1 Like

Yes! I thought so. Thank you.

Cheer and happy Streamlit-ing!:balloon:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.