Spaces:
Sleeping
Sleeping
Update app.py
Browse filesfixed dropdown list error
app.py
CHANGED
@@ -61,7 +61,7 @@ dropdown = gr.Dropdown(choices=class_names, label="Select a breed", type="value"
|
|
61 |
|
62 |
demo = gr.Interface(
|
63 |
fn=classify_image,
|
64 |
-
inputs=[gr.Image(type="pil")],
|
65 |
outputs=[gr.Label(num_top_classes=3, label="Top 3 Predictions")],
|
66 |
examples=examples,
|
67 |
title='Oxford Pet ππ',
|
|
|
61 |
|
62 |
demo = gr.Interface(
|
63 |
fn=classify_image,
|
64 |
+
inputs=[gr.Image(type="pil"), dropdown],
|
65 |
outputs=[gr.Label(num_top_classes=3, label="Top 3 Predictions")],
|
66 |
examples=examples,
|
67 |
title='Oxford Pet ππ',
|