hello_world / run.py
DemoLou's picture
Duplicate from gradio/hello_world
58762f6
raw history blame
No virus
185 Bytes
import gradio as gr
def greet(name):
return "Hello " + name + "!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
if __name__ == "__main__":
demo.launch()