Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ def classify_image(img):
|
|
| 9 |
pred,idx,probs = learn.predict(img)
|
| 10 |
return pred
|
| 11 |
|
| 12 |
-
image = gr.
|
| 13 |
-
label = gr.
|
| 14 |
examples = ["5.png"]
|
| 15 |
|
| 16 |
#intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
|
|
|
| 9 |
pred,idx,probs = learn.predict(img)
|
| 10 |
return pred
|
| 11 |
|
| 12 |
+
image = gr.Image(shape=(192,192))
|
| 13 |
+
label = gr.Label()
|
| 14 |
examples = ["5.png"]
|
| 15 |
|
| 16 |
#intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|