import streamlit as st custom_styles = """ """ # Render custom styles st.markdown(custom_styles, unsafe_allow_html=True) # Load your existing HTML file with open("output.html", "r", encoding="utf-8") as file: html_content = file.read() # st.markdown(html_content, unsafe_allow_html=True) # Display the HTML content st.components.v1.html(html_content, height=800,width=800, scrolling=True)