dwb2023 commited on
Commit
49d7405
·
verified ·
1 Parent(s): a01dcd6

minimize text boxes by default

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -147,8 +147,10 @@ with gr.Blocks(theme="sudeepshouche/minimalist") as demo:
147
  text_input = gr.Textbox(label="Text Input", placeholder="Not used for Florence-2 Object Detection")
148
  submit_btn = gr.Button(value="Submit")
149
  with gr.Column():
150
- output_text = gr.Textbox(label="Output Text")
151
- parsed_text = gr.Textbox(label="Parsed Text")
 
 
152
  output_img = gr.Image(label="Output Image")
153
 
154
  gr.Examples(
 
147
  text_input = gr.Textbox(label="Text Input", placeholder="Not used for Florence-2 Object Detection")
148
  submit_btn = gr.Button(value="Submit")
149
  with gr.Column():
150
+ with gr.Accordion("Parsed Text", open=False):
151
+ parsed_text = gr.Textbox(label="Parsed Text")
152
+ with gr.Accordion("Output Text", open=False):
153
+ output_text = gr.Textbox(label="Output Text")
154
  output_img = gr.Image(label="Output Image")
155
 
156
  gr.Examples(