Spaces:
Build error
Build error
Ibrahim-Fateen commited on
Commit ·
dff4438
1
Parent(s): f51910b
update app py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ def classify_image(img):
|
|
| 9 |
|
| 10 |
learn = load_learner('model.pkl')
|
| 11 |
|
| 12 |
-
image = gr.
|
| 13 |
-
label = gr.
|
| 14 |
|
| 15 |
iface = gr.Interface(fn=classify_image, inputs=image, outputs=label)
|
| 16 |
iface.launch(inline=False)
|
|
|
|
| 9 |
|
| 10 |
learn = load_learner('model.pkl')
|
| 11 |
|
| 12 |
+
image = gr.Image(shape=(192, 192))
|
| 13 |
+
label = gr.Label()
|
| 14 |
|
| 15 |
iface = gr.Interface(fn=classify_image, inputs=image, outputs=label)
|
| 16 |
iface.launch(inline=False)
|