Spaces:
Runtime error
Runtime error
davidrd123
commited on
Commit
•
95bc353
1
Parent(s):
5776ad1
Updated to 20 genre
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from fastai.vision.all import *
|
3 |
import skimage
|
4 |
|
5 |
-
learn = load_learner('
|
6 |
|
7 |
labels = learn.dls.vocab
|
8 |
def predict(img):
|
|
|
2 |
from fastai.vision.all import *
|
3 |
import skimage
|
4 |
|
5 |
+
learn = load_learner('rn50_256px_20genre_8epoch_err313.pkl')
|
6 |
|
7 |
labels = learn.dls.vocab
|
8 |
def predict(img):
|