Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ def classify_image(inp):
|
|
17 |
return {labels[i]: float(prediction[i]) for i in range(1000)}
|
18 |
|
19 |
|
20 |
-
image = gr.
|
21 |
-
label = gr.
|
22 |
|
23 |
title="Gradio Image Classifiction + interpretation Example"
|
24 |
gr.Interface(
|
|
|
17 |
return {labels[i]: float(prediction[i]) for i in range(1000)}
|
18 |
|
19 |
|
20 |
+
image = gr.Image(shape=(224, 224))
|
21 |
+
label = gr.Label(num_top_classes=3)
|
22 |
|
23 |
title="Gradio Image Classifiction + interpretation Example"
|
24 |
gr.Interface(
|