Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ examples = ['img1.jpeg', 'img2.jpeg']
|
|
17 |
|
18 |
iface = gr.Interface(
|
19 |
fn=predict,
|
20 |
-
inputs=gr.Image(
|
21 |
outputs=gr.Label(num_top_classes=3),
|
22 |
title=title,
|
23 |
description=description,
|
|
|
17 |
|
18 |
iface = gr.Interface(
|
19 |
fn=predict,
|
20 |
+
inputs=gr.Image(), # Removed the shape parameter
|
21 |
outputs=gr.Label(num_top_classes=3),
|
22 |
title=title,
|
23 |
description=description,
|