Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
danbiagini
/
puckwax
like
0
Sleeping
App
Files
Files
Fetching metadata from the HF Docker repository...
56734ed
puckwax
/
app.py
Dan Biagini
load model
56734ed
almost 2 years ago
raw
Copy download link
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()