Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -115,6 +115,7 @@ with gr.Blocks(title="OCR QA Demo") as demo:
|
|
115 |
label="Language of the Text"
|
116 |
)
|
117 |
submit_btn = gr.Button("π Assess OCR Text Quality", variant="primary")
|
|
|
118 |
|
119 |
with gr.Column():
|
120 |
with gr.Row():
|
@@ -124,7 +125,7 @@ with gr.Blocks(title="OCR QA Demo") as demo:
|
|
124 |
placeholder="The quality assessment will appear here...",
|
125 |
scale=10
|
126 |
)
|
127 |
-
|
128 |
|
129 |
# Info modal/accordion for pipeline details
|
130 |
with gr.Accordion("π About the OCR QA Method", open=False, visible=False) as info_accordion:
|
|
|
115 |
label="Language of the Text"
|
116 |
)
|
117 |
submit_btn = gr.Button("π Assess OCR Text Quality", variant="primary")
|
118 |
+
info_btn = gr.Button("Help", size="md", scale=1)
|
119 |
|
120 |
with gr.Column():
|
121 |
with gr.Row():
|
|
|
125 |
placeholder="The quality assessment will appear here...",
|
126 |
scale=10
|
127 |
)
|
128 |
+
|
129 |
|
130 |
# Info modal/accordion for pipeline details
|
131 |
with gr.Accordion("π About the OCR QA Method", open=False, visible=False) as info_accordion:
|