import gradio as gr # Read the HTML content html_content = open("index.html", "r").read() with gr.Blocks() as demo: gr.HTML(html_content) demo.launch()