Spaces:
Sleeping
Sleeping
minimize text boxes by default
Browse files
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 |
-
|
151 |
-
|
|
|
|
|
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(
|