Update app.py
Browse files
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 |
-
|
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 |
|