File size: 1,849 Bytes
b76cf08
 
60ad418
b76cf08
 
 
 
90192b2
b76cf08
 
90192b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b76cf08
60ad418
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import gradio as gr

from helper.text.text_help import TextHowTo

with gr.Blocks() as help_tab:
    with gr.Tabs():
        with gr.Tab("Fast track"):
            gr.Markdown("WIP")
            pass
        with gr.Tab("Stepwise"):
            with gr.Row(equal_height=False):
                gr.Markdown(TextHowTo.stepwise_htr_tool)
            with gr.Row():
                gr.Markdown(TextHowTo.stepwise_htr_tool_tab_intro)
            with gr.Row():
                with gr.Tabs():
                    with gr.Tab("1. Region Segmentation"):
                        with gr.Row():
                            with gr.Column():
                                gr.Markdown(TextHowTo.stepwise_htr_tool_tab1)
                            with gr.Column():
                                gr.Markdown("image")
                    with gr.Tab("2. Line Segmentation"):
                        with gr.Row():
                            with gr.Column():
                                gr.Markdown(TextHowTo.stepwise_htr_tool_tab2)
                            with gr.Column():
                                gr.Markdown("image")
                    with gr.Tab("3. Transcribe Text"):
                        with gr.Row():
                            with gr.Column():
                                gr.Markdown(TextHowTo.stepwise_htr_tool_tab3)
                            with gr.Column():
                                gr.Markdown("image")
                    with gr.Tab("4. Explore Results"):
                        with gr.Row():
                            with gr.Column():
                                gr.Markdown(TextHowTo.stepwise_htr_tool_tab4)
                            with gr.Column():
                                gr.Markdown("image")
            with gr.Row():
                gr.Markdown(TextHowTo.stepwise_htr_tool_end)