emoroberta / app.py
r-o-y-a's picture
Update app.py
45e54b3
raw
history blame
285 Bytes
import gradio as gr
def my_inference_function(name):
return "Hello " + name + "!"
gradio_interface = gradio.Interface(
fn=my_inference_function,
inputs="text",
outputs="text",
examples=[
["Jill"],
["Sam"]
]
)
gr.load("models/arpanghoshal/EmoRoBERTa").launch()