Spaces:
Running
Running
Joseph
commited on
Commit
•
710ac0a
1
Parent(s):
36be592
add examples
Browse files
app.py
CHANGED
@@ -103,6 +103,11 @@ iface = gr.Interface(
|
|
103 |
inputs=[gr.Image(type="pil"), gr.Dropdown(choices=model_names, value=model_names[0], label="Model Variant.")],
|
104 |
outputs=[gr.Label(label="Pytorch Output"), gr.Label(label="TFLite Output")],
|
105 |
title="MobileNetV4 Pytorch vs TFLite Imagenet1K Classification",
|
|
|
|
|
|
|
|
|
|
|
106 |
)
|
107 |
|
108 |
iface.launch()
|
|
|
103 |
inputs=[gr.Image(type="pil"), gr.Dropdown(choices=model_names, value=model_names[0], label="Model Variant.")],
|
104 |
outputs=[gr.Label(label="Pytorch Output"), gr.Label(label="TFLite Output")],
|
105 |
title="MobileNetV4 Pytorch vs TFLite Imagenet1K Classification",
|
106 |
+
examples=[
|
107 |
+
["example_images/n01818515_macaw.JPEG", model_names[0]],
|
108 |
+
["example_images/n01828970_bee_eater.jpg", model_names[0]],
|
109 |
+
["example_images/n01833805_hummingbird.JPEG", model_names[0]]
|
110 |
+
]
|
111 |
)
|
112 |
|
113 |
iface.launch()
|
example_images/n01818515_macaw.JPEG
ADDED
example_images/n01828970_bee_eater.jpg
ADDED
example_images/n01833805_hummingbird.JPEG
ADDED