Spaces:
Sleeping
Sleeping
test
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def classify_image(im):
|
|
| 11 |
_pred, _idx, probs = learner.predict(im)
|
| 12 |
return dict(zip(categories, map(float, probs)))
|
| 13 |
|
| 14 |
-
# create interface
|
| 15 |
|
| 16 |
im = gr.inputs.Image(shape=(192, 192))
|
| 17 |
label = gr.outputs.Label()
|
|
|
|
| 11 |
_pred, _idx, probs = learner.predict(im)
|
| 12 |
return dict(zip(categories, map(float, probs)))
|
| 13 |
|
| 14 |
+
# create interface
|
| 15 |
|
| 16 |
im = gr.inputs.Image(shape=(192, 192))
|
| 17 |
label = gr.outputs.Label()
|