Folium is showing gray box only with ST_Fomium

I’m attempting to display a Folium map within my Streamlit application, but it only shows a gray box without any details. I’ve tried to switch browsers, but unfortunately, I encountered the same outcome. Below are the versions of Streamlit and Folium I’m utilizing, along with the code snippet:

folium 0.15.0
streamlit 1.32.2
streamlit-folium 0.18.0
python 3.11.5

import folium

import streamlit as st

from streamlit_folium import st_folium

m = folium.Map(location=[39.949610, -75.150282], zoom_start=16)

folium.Marker( [39.949610, -75.150282]).add_to(m)

st_folium(m, height=500,width=500)