Spaces:
Sleeping
Sleeping
name changes and readme error
Browse files- README.md +1 -1
- tabs/htr_tool.py +5 -5
README.md
CHANGED
@@ -14,7 +14,7 @@ models:
|
|
14 |
datasets:
|
15 |
[
|
16 |
"Riksarkivet/placeholder_region_segmentation",
|
17 |
-
"Riksarkivet/
|
18 |
"Riksarkivet/placeholder_htr",
|
19 |
]
|
20 |
---
|
|
|
14 |
datasets:
|
15 |
[
|
16 |
"Riksarkivet/placeholder_region_segmentation",
|
17 |
+
"Riksarkivet/placeholder_line_segmentation",
|
18 |
"Riksarkivet/placeholder_htr",
|
19 |
]
|
20 |
---
|
tabs/htr_tool.py
CHANGED
@@ -22,15 +22,15 @@ with gr.Blocks() as htr_tool_tab:
|
|
22 |
)
|
23 |
|
24 |
with gr.Row():
|
25 |
-
with gr.Tab("
|
26 |
with gr.Row():
|
27 |
stop_htr_button = gr.Button(
|
28 |
-
value="Stop
|
29 |
variant="stop",
|
30 |
)
|
31 |
|
32 |
htr_pipeline_button = gr.Button(
|
33 |
-
"Run
|
34 |
variant="primary",
|
35 |
visible=True,
|
36 |
elem_id="run_pipeline_button",
|
@@ -43,7 +43,7 @@ with gr.Blocks() as htr_tool_tab:
|
|
43 |
label="Download output file", visible=True, scale=1, height=100, elem_id="download_file"
|
44 |
)
|
45 |
|
46 |
-
with gr.Tab("Visualize
|
47 |
with gr.Row():
|
48 |
gr.Button(
|
49 |
value="Image Viewer (demo)",
|
@@ -60,7 +60,7 @@ with gr.Blocks() as htr_tool_tab:
|
|
60 |
interactive=False, label="Text Selector", info="Select a mask on Image Viewer to return text"
|
61 |
)
|
62 |
|
63 |
-
with gr.Tab("
|
64 |
with gr.Box():
|
65 |
gr.Markdown(
|
66 |
"Compare different runs with uploaded Ground Truth and calculate CER. You will also be able to upload output format files"
|
|
|
22 |
)
|
23 |
|
24 |
with gr.Row():
|
25 |
+
with gr.Tab("HTRFLOW") as tab_output_and_setting_selector:
|
26 |
with gr.Row():
|
27 |
stop_htr_button = gr.Button(
|
28 |
+
value="Stop run",
|
29 |
variant="stop",
|
30 |
)
|
31 |
|
32 |
htr_pipeline_button = gr.Button(
|
33 |
+
"Run ",
|
34 |
variant="primary",
|
35 |
visible=True,
|
36 |
elem_id="run_pipeline_button",
|
|
|
43 |
label="Download output file", visible=True, scale=1, height=100, elem_id="download_file"
|
44 |
)
|
45 |
|
46 |
+
with gr.Tab("Visualize") as tab_image_viewer_selector:
|
47 |
with gr.Row():
|
48 |
gr.Button(
|
49 |
value="Image Viewer (demo)",
|
|
|
60 |
interactive=False, label="Text Selector", info="Select a mask on Image Viewer to return text"
|
61 |
)
|
62 |
|
63 |
+
with gr.Tab("Compare") as tab_model_compare_selector:
|
64 |
with gr.Box():
|
65 |
gr.Markdown(
|
66 |
"Compare different runs with uploaded Ground Truth and calculate CER. You will also be able to upload output format files"
|