import gradio as gr html_content = """ Text Animation
this is text!
""" with gr.Blocks() as demo: gr.HTML(html_content) demo.launch()