import streamlit as st import streamlit.components.v1 as components def read_file(file_path): with open(file_path, 'r') as file: return file.read() # Read HTML, CSS, and JS files html_content = read_file('index.html') css_content = '' js_content = '' # Combine the content complete_html = html_content.replace('', css_content) complete_html = complete_html.replace('', js_content) # Render the combined content in Streamlit components.html(complete_html, height=600)