dwb2023 commited on
Commit
2376e6b
·
verified ·
1 Parent(s): 8746f0d

update labels

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -147,10 +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
- with gr.Accordion("Parsed Text", open=False):
151
- generated_od = gr.Textbox(label="Object Detection - Generated Text")
152
- with gr.Accordion("Output Text", open=False):
153
- parsed_od = gr.Textbox(label="Object Detection - Parsed Text")
154
  output_img = gr.Image(label="Output Image")
155
 
156
  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("Object Detection - Generated Text", open=False):
151
+ generated_od = gr.Textbox(label="Generated Text")
152
+ with gr.Accordion("Object Detection - Parsed Text", open=False):
153
+ parsed_od = gr.Textbox(label="Parsed Text")
154
  output_img = gr.Image(label="Output Image")
155
 
156
  gr.Examples(