Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
|
4 |
learn = load_learner('model.pkl')
|
5 |
|
6 |
-
categories = ('
|
7 |
|
8 |
def classify_image(img):
|
9 |
pred, idx,probs = learn.predict(img)
|
|
|
3 |
|
4 |
learn = load_learner('model.pkl')
|
5 |
|
6 |
+
categories = ( 'NotHijab','Hijab','Man')
|
7 |
|
8 |
def classify_image(img):
|
9 |
pred, idx,probs = learn.predict(img)
|