Custom Components GalleryNEW

Explore

Playground renders best on desktop.

Demos

Text

Media

Tabular

Other

Code

import gradio as gr

def greet(name):
return "Hello " + name + "!"

demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
if __name__ == "__main__":
demo.launch()

Preview

Loading...