Spaces:
Sleeping
Sleeping
update labels
Browse files
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("
|
151 |
-
generated_od = gr.Textbox(label="
|
152 |
-
with gr.Accordion("
|
153 |
-
parsed_od = gr.Textbox(label="
|
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(
|