test / app.py
yuankaihuo's picture
Update app.py
ad5f139
raw
history blame contribute delete
197 Bytes
import gradio as gr
def greet(name):
return "Hello " + name
gradio_app = gr.Interface(fn=greet, inputs="text", outputs="text",title="Demo")
if __name__ == "__main__":
gradio_app.launch()