Display SVG

I manage to include my SVG image, but I add to host it somewhere accessible by filename.
Here is my test dashboard with SVG and PNG: http://95.216.70.217:8501/
you can see the difference, the SVG allow to have “hoover” information for each location, which is neat.

Here is how I did that:
st.write("""<figure><embed type="image/svg+xml" src="https://froglabs.ai/media/mysvg.svg" /></figure>""", unsafe_allow_html=True)

How can I do that on the same machine by specifying a local path? (where the .py code is for instanceà