keithhon's picture
Update app.py
d6314c4
raw
history blame
236 Bytes
from fastT5 import get_onnx_model
import gradio as gr
model = get_onnx_model('keithhon/macaw-large-onnx')
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()