Update app.py
Browse files
app.py
CHANGED
|
@@ -29,9 +29,9 @@ def predict(img):
|
|
| 29 |
return confidences
|
| 30 |
|
| 31 |
example_imgs = [
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
]
|
| 36 |
|
| 37 |
interface = gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs=gr.Label(num_top_classes=3), examples=example_imgs)
|
|
|
|
| 29 |
return confidences
|
| 30 |
|
| 31 |
example_imgs = [
|
| 32 |
+
"res/example.jpg",
|
| 33 |
+
"res/example_pair1.jpg",
|
| 34 |
+
"res/example_pair2.jpg"
|
| 35 |
]
|
| 36 |
|
| 37 |
interface = gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs=gr.Label(num_top_classes=3), examples=example_imgs)
|