Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def detect(img):
|
|
29 |
return new_image
|
30 |
|
31 |
|
32 |
-
examples = ['
|
33 |
|
34 |
|
35 |
css = ".output-image, .input-image, .image-preview {height: 400px !important}"
|
@@ -39,5 +39,5 @@ iface = gr.Interface(fn=detect,
|
|
39 |
outputs=gr.outputs.Image(type="numpy",),
|
40 |
css=css,
|
41 |
examples = examples,
|
42 |
-
|
43 |
iface.launch(debug=True, inline=True)
|
|
|
29 |
return new_image
|
30 |
|
31 |
|
32 |
+
examples = ['apple_img.jpg',]
|
33 |
|
34 |
|
35 |
css = ".output-image, .input-image, .image-preview {height: 400px !important}"
|
|
|
39 |
outputs=gr.outputs.Image(type="numpy",),
|
40 |
css=css,
|
41 |
examples = examples,
|
42 |
+
)
|
43 |
iface.launch(debug=True, inline=True)
|