File size: 185 Bytes
2fedd68
7599980
2fedd68
 
 
 
 
01876a6
2fedd68
1
2
3
4
5
6
7
8
9
10
import gradio as gr
from transformers import pipeline

def greet(name):
    return "Hello " + name + "!!"

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