Folium map not getting rendered on streamlit cloud but works fine on local machine

So I am trying to render a folium map on my streamlit application. While the map is being rendered perfectly on my local machine, when I deploy it to streamlit cloud I am getting an error which says:

I tried removing everything from my map component, and load a simple folium map, but the issue remains the same.
Can someone please tell me what is going wrong?

Hi there,

Thanks for sharing your question with the community! Check out our guidelines on how to post an effective question here – in particular, please share a code snippet so we can try to reproduce the issue.