puckwax / app.py
Dan Biagini
load model
56734ed
raw
history blame
223 Bytes
import gradio as gr
from fastai.vision.all import *
def greet(name):
return "Hello " + name + "!!"
learn = load_learner('hockey_model.pkl')
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()