import gradio as gr with gr.Blocks() as demo: gr.HTML(value="""<h1 style='text-align: center'><a href="https://huggingface.co/spaces/openskyml/pigeon-chat">404</a></h1>""") gr.HTML(value="<h2></h2>") gr.HTML(value="""<h2>The page has been moved to a new address!<a href="https://huggingface.co/spaces/openskyml/pigeon-chat">Go to the page!</a></h2>""") title = "404" demo.launch()