aee4937
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr def echo_text(text): return text demo_textbox = gr.Interface( fn=echo_text, inputs=gr.Textbox(label="Enter some text"), # "text" outputs=gr.Textbox(label="Echoed text"), # "text" title="Textbox Example" ) demo_textbox.launch()