import gradio as gr def greet(name): return "Hello " + name + "!" ## just used the Textbox class demo = gr.Interface( ## you can add title ; description: examples : inputs: outputs title='This is a demo app', description='Description of a test app', fn=greet, inputs=gr.Textbox(lines=4, ## now you can specify some params placeholder="Name Here ...", label="Your name"), ## you can also do a list of various inputs outputs="text", examples=[['xxxyyy'],['1234']] # css = .... ) demo.launch(share=True)