Spaces:
Running
on
Zero
Running
on
Zero
File size: 1,275 Bytes
21c87da c369c5b 21c87da d2d5258 0658a37 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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
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;
}
hr.region-divider {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.pipeline-panel {
background: none;
border: solid 1px;
border-color: var(--block-border-color);
}
.pipeline-help {
padding: 5px 0 0 0;
font-weight: var(--block-info-text-weight);
font-size: var(--block-info-text-size);
color: var(--block-info-text-color);
}
.pipeline-help a {
color: var(--secondary-400);
}
.pipeline-help a:hover {
color: var(--secondary-500);
}
.pipeline-header {
padding: 2px 0px 0px 2px;
color: var(--body-text-color);
}
.pipeline-description {
margin: auto;
color: var(--body-text-color);
}
"""
|