feirin23-05-24 / app.py
xuanmo's picture
add app file
253ac1d
# -*- coding: UTF-8 -*-
'''
@author xuanmo
@date 2023/5/23
@name __init__.py
'''
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()