Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,6 @@ example_imgs = [
|
|
34 |
"res/example_pair2.jpg"
|
35 |
]
|
36 |
|
37 |
-
interface = gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs=gr.Label(num_top_classes=
|
38 |
|
39 |
interface.launch()
|
|
|
34 |
"res/example_pair2.jpg"
|
35 |
]
|
36 |
|
37 |
+
interface = gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs=gr.Label(num_top_classes=5), examples=example_imgs)
|
38 |
|
39 |
interface.launch()
|