Spaces:
Runtime error
Runtime error
Martin Tomov
commited on
(label="JSON")
Browse files
app.py
CHANGED
|
@@ -246,7 +246,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 246 |
submit_button = gr.Button("Submit")
|
| 247 |
|
| 248 |
annotated_output = gr.Image(type="numpy")
|
| 249 |
-
json_output = gr.Textbox()
|
| 250 |
crops_output = gr.Gallery(label="Cropped Bounding Boxes")
|
| 251 |
|
| 252 |
async def update_outputs(image, include_json, include_bboxes):
|
|
|
|
| 246 |
submit_button = gr.Button("Submit")
|
| 247 |
|
| 248 |
annotated_output = gr.Image(type="numpy")
|
| 249 |
+
json_output = gr.Textbox(label="JSON")
|
| 250 |
crops_output = gr.Gallery(label="Cropped Bounding Boxes")
|
| 251 |
|
| 252 |
async def update_outputs(image, include_json, include_bboxes):
|