If we have some static html, probably with some javascript as well, we can deploy the html and use streamlit app to render the html file.
Recomend to have a virtual python environment first, then install the streamlit as:
pip install streamlit |
Here’s an example of how your Python script might look:
import streamlit as st |
Finally, to test the above python file locally:
streamlit run your_app.py |