Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
-
|
4 |
learn = load_learner('model.pkl')
|
5 |
|
6 |
|
@@ -21,4 +20,4 @@ examples = ['matt damon.jpg', 'jesse.jpeg', 'matt damon 2.webp', 'jesse 2.jpeg',
|
|
21 |
intf = gr.Interface(fn=classify_image, inputs=image,
|
22 |
outputs=label, examples=examples)
|
23 |
|
24 |
-
intf.launch(inline=False
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
|
|
3 |
learn = load_learner('model.pkl')
|
4 |
|
5 |
|
|
|
20 |
intf = gr.Interface(fn=classify_image, inputs=image,
|
21 |
outputs=label, examples=examples)
|
22 |
|
23 |
+
intf.launch(inline=False)
|