Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -52,8 +52,8 @@ def predict_top_classes(img, model_name):
|
|
52 |
interface = gr.Interface(
|
53 |
predict_top_classes,
|
54 |
[
|
55 |
-
gr.
|
56 |
-
gr.
|
57 |
choices=["Xception","InceptionV3","InceptionResNetV2","DenseNet201"],
|
58 |
type="value",
|
59 |
label="Select a model"
|
|
|
52 |
interface = gr.Interface(
|
53 |
predict_top_classes,
|
54 |
[
|
55 |
+
gr.Image(type='pil'),
|
56 |
+
gr.Dropdown(
|
57 |
choices=["Xception","InceptionV3","InceptionResNetV2","DenseNet201"],
|
58 |
type="value",
|
59 |
label="Select a model"
|