Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def classify_image(img):
|
|
12 |
image = gr.Image()
|
13 |
label = gr.Label()
|
14 |
|
15 |
-
examples = []
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
18 |
intf.launch(inline=False)
|
|
|
12 |
image = gr.Image()
|
13 |
label = gr.Label()
|
14 |
|
15 |
+
examples = ['fresh.jpg', 'rotten.jpg']
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
18 |
intf.launch(inline=False)
|