Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,4 +22,4 @@ def predict(img):
|
|
22 |
|
23 |
examples = ['image1.jpg', 'image2.jpg']
|
24 |
|
25 |
-
gr.Interface(fn=predict, inputs=gr.components.Image(), outputs=gr.components.Label(num_top_classes=
|
|
|
22 |
|
23 |
examples = ['image1.jpg', 'image2.jpg']
|
24 |
|
25 |
+
gr.Interface(fn=predict, inputs=gr.components.Image(), outputs=gr.components.Label(num_top_classes=2), examples=examples).launch()
|