Spaces:
Running
on
Zero
Running
on
Zero
carpelan
commited on
Commit
·
3468d5b
1
Parent(s):
8244c0d
tightning the layout
Browse files- app/gradio_config.py +5 -0
- app/tabs/submit.py +2 -0
- app/tabs/visualizer.py +4 -4
app/gradio_config.py
CHANGED
@@ -107,4 +107,9 @@ hr.region-divider {
|
|
107 |
}
|
108 |
|
109 |
|
|
|
|
|
|
|
|
|
|
|
110 |
"""
|
|
|
107 |
}
|
108 |
|
109 |
|
110 |
+
.grid-wrap.svelte-842rpi.svelte-842rpi {
|
111 |
+
overflow-y: auto !important;
|
112 |
+
}
|
113 |
+
|
114 |
+
|
115 |
"""
|
app/tabs/submit.py
CHANGED
@@ -195,6 +195,8 @@ with gr.Blocks() as submit:
|
|
195 |
object_fit="scale-down",
|
196 |
min_width=250,
|
197 |
columns=3,
|
|
|
|
|
198 |
)
|
199 |
image_iiif_url = gr.Textbox(
|
200 |
label="Upload by image ID",
|
|
|
195 |
object_fit="scale-down",
|
196 |
min_width=250,
|
197 |
columns=3,
|
198 |
+
height="45vh",
|
199 |
+
elem_classes="gallery-fix",
|
200 |
)
|
201 |
image_iiif_url = gr.Textbox(
|
202 |
label="Upload by image ID",
|
app/tabs/visualizer.py
CHANGED
@@ -64,8 +64,8 @@ with gr.Blocks() as visualizer:
|
|
64 |
padding=False,
|
65 |
elem_classes="svg-image",
|
66 |
container=True,
|
67 |
-
max_height="
|
68 |
-
min_height="
|
69 |
show_label=True,
|
70 |
)
|
71 |
|
@@ -83,8 +83,8 @@ with gr.Blocks() as visualizer:
|
|
83 |
show_label=True,
|
84 |
elem_classes="transcription",
|
85 |
container=True,
|
86 |
-
max_height="
|
87 |
-
min_height="
|
88 |
)
|
89 |
|
90 |
collection = gr.State()
|
|
|
64 |
padding=False,
|
65 |
elem_classes="svg-image",
|
66 |
container=True,
|
67 |
+
max_height="65vh",
|
68 |
+
min_height="65vh",
|
69 |
show_label=True,
|
70 |
)
|
71 |
|
|
|
83 |
show_label=True,
|
84 |
elem_classes="transcription",
|
85 |
container=True,
|
86 |
+
max_height="65vh",
|
87 |
+
min_height="65vh",
|
88 |
)
|
89 |
|
90 |
collection = gr.State()
|