sergiopaniego HF Staff commited on
Commit
bfd905c
·
1 Parent(s): 36b4542

Updated app

Browse files
Files changed (1) hide show
  1. app.py +9 -3
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(fn=detect, inputs=gr.Image(label="Input image", type="pil"), outputs=gr.Image(label="Output image predictions", type="pil"))
 
 
 
 
 
 
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()