import gradio as gr with open("Market.html") as f: lines = f.readlines() with gr.Blocks() as demo: input_mic = gr.HTML(lines) out_text = gr.Textbox() if __name__ == "__main__": demo.launch()