File size: 663 Bytes
21c87da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c369c5b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21c87da
 
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
44
45
import gradio as gr

theme = gr.themes.Default(
    primary_hue="blue",
    secondary_hue="blue",
    neutral_hue="slate",
    # font=[
    #     gr.themes.GoogleFont("Open Sans"),
    #     "ui-sans-serif",
    #     "system-ui",
    #     "sans-serif",
    # ],
)

css = """
.svg-image {
  height: auto;
  width: 100%;
  margin: auto;
}

.transcription {
  font-size: large;
}

/* style of textline svg elements */
.textline {
  fill: transparent;
  stroke: blue;
  stroke-width: 10;
  stroke-opacity: 0.2;
}

.highlighted polygon {
  fill:blue;
  fill-opacity: 0.2;
}

span.highlighted {
  background-color: rgba(0%, 0%, 100%, 0.2);
  font-size: large;
}

"""