John Ho commited on
Commit
16a4c7b
·
1 Parent(s): 74821c0

testing optional input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ with gr.Blocks() as demo:
79
  label="Model Variant",
80
  choices=["tiny", "small", "base_plus", "large"],
81
  ),
82
- gr.JSON(
83
  label='Bounding Boxes (JSON list of dicts: [{"x0":..., "y0":..., "x1":..., "y1":...}, ...])',
84
  optional=True,
85
  ),
 
79
  label="Model Variant",
80
  choices=["tiny", "small", "base_plus", "large"],
81
  ),
82
+ gr.Textbox(
83
  label='Bounding Boxes (JSON list of dicts: [{"x0":..., "y0":..., "x1":..., "y1":...}, ...])',
84
  optional=True,
85
  ),