import streamlit as st # Read HTML file with open("index.html", "r", encoding="utf-8") as f: html_code = f.read() # Display HTML st.components.v1.html(html_code, height=1000, scrolling=True)