Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ learn = load_learner('model.pkl')
|
|
| 6 |
|
| 7 |
def classify_image(img):
|
| 8 |
pred, idx,probs = learn.predict(img)
|
| 9 |
-
return pred
|
| 10 |
|
| 11 |
image = gr.inputs.Image(shape=(192,192))
|
| 12 |
lebel = gr.outputs.Label()
|
|
|
|
| 6 |
|
| 7 |
def classify_image(img):
|
| 8 |
pred, idx,probs = learn.predict(img)
|
| 9 |
+
return pred
|
| 10 |
|
| 11 |
image = gr.inputs.Image(shape=(192,192))
|
| 12 |
lebel = gr.outputs.Label()
|