Spaces:
Sleeping
Sleeping
Commit
·
bfd905c
1
Parent(s):
36b4542
Updated app
Browse files
app.py
CHANGED
@@ -57,7 +57,13 @@ def detect(image):
|
|
57 |
|
58 |
print(output_pil_img)
|
59 |
|
60 |
-
return output_pil_img
|
61 |
-
|
62 |
-
demo = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
demo.launch()
|
|
|
57 |
|
58 |
print(output_pil_img)
|
59 |
|
60 |
+
return output_pil_img, output_pil_img
|
61 |
+
|
62 |
+
demo = gr.Interface(
|
63 |
+
fn=detect,
|
64 |
+
inputs=gr.Image(label="Input image", type="pil"),
|
65 |
+
outputs=[
|
66 |
+
gr.Image(label="Output image predictions", type="pil"),
|
67 |
+
gr.Image(label="Output image predictions", type="pil")
|
68 |
+
])
|
69 |
demo.launch()
|