内容
This commit is contained in:
7
gradio app.py
Normal file
7
gradio app.py
Normal file
@ -0,0 +1,7 @@
|
||||
import gradio as gr
|
||||
|
||||
def greet(name):
|
||||
return "Hello " + name + "!!"
|
||||
|
||||
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
||||
demo.launch()
|
||||
Reference in New Issue
Block a user