gherget commited on
Commit
668f6b7
1 Parent(s): 9cf2289

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ with gr.Blocks() as demo:
145
  with gr.Column():
146
  #outviz = gr.Image(label="Visualization", type="pil")
147
  output_desc = gr.JSON(label="Detected Objects")
148
- #masks_screen = gr.JSON(label="Masks")
149
 
150
  btn_detic.click(fn=inference, inputs=[inp,chk], outputs=[output_desc,masks_screen], api_name="detect")
151
 
 
145
  with gr.Column():
146
  #outviz = gr.Image(label="Visualization", type="pil")
147
  output_desc = gr.JSON(label="Detected Objects")
148
+ masks_screen = gr.Textbox(label="Masks binary", lines=1)
149
 
150
  btn_detic.click(fn=inference, inputs=[inp,chk], outputs=[output_desc,masks_screen], api_name="detect")
151