37a1151
56734ed
37a1151
56734ed
37a1151
|
|
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() |