b7a4079
1
2
3
4
5
6
7
8
import gradio as gr with gr.Blocks() as demo: t = gr.Textbox() i = gr.Image(type="filepath") t.submit(lambda : "cheetah.jpg", None, i) demo.launch()