File size: 159 Bytes
232fdfd
 
 
 
 
 
 
1
2
3
4
5
6
7
import gradio as gr

def greet(name):
    return "你好,墨奇 " + name + "!!"

iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()