import gradio as gr def update_iframe(slider_value): return f''' ''' iface = gr.Interface( fn=update_iframe, inputs=gr.inputs.Slider(minimum=0, maximum=100, step=1, default=50), outputs=gr.outputs.HTML(), allow_flagging=False, ) iface.launch(server_name='0.0.0.0', server_port=12212)