demo / app.py
cnealex's picture
Update app.py
3a5075a verified
raw
history blame
183 Bytes
from transformers import pipeline
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()