update app.py
Browse files
app.py
CHANGED
@@ -171,7 +171,9 @@ with gr.Blocks(css=".gradio-container {background:honeydew;}", title="WideResNet
|
|
171 |
send_btn = gr.Button("Infer")
|
172 |
|
173 |
with gr.Row():
|
174 |
-
gr.Examples(
|
|
|
|
|
175 |
#gr.Examples(['examples/sample02.png', 'examples/sample04.png'], inputs=input_image2)
|
176 |
|
177 |
send_btn.click(fn=predict, inputs=input_image, outputs=output_label)
|
|
|
171 |
send_btn = gr.Button("Infer")
|
172 |
|
173 |
with gr.Row():
|
174 |
+
gr.Examples(label='dog', 'examples/cifar10_test00.png', inputs=input_image)
|
175 |
+
gr.Examples(label='ship', 'examples/cifar10_test02.png', inputs=input_image)
|
176 |
+
#gr.Examples(example_files, inputs=input_image)
|
177 |
#gr.Examples(['examples/sample02.png', 'examples/sample04.png'], inputs=input_image2)
|
178 |
|
179 |
send_btn.click(fn=predict, inputs=input_image, outputs=output_label)
|