Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,10 @@ from datasets import load_dataset
|
|
9 |
from datasets import DownloadMode, VerificationMode
|
10 |
|
11 |
STYLES = """
|
|
|
|
|
|
|
|
|
12 |
.center {
|
13 |
text-align: center;
|
14 |
}
|
@@ -74,7 +78,7 @@ with gr.Blocks(css=STYLES) as demo:
|
|
74 |
"regularly updated in a daily basis.",
|
75 |
elem_classes=['small-big', 'center'])
|
76 |
|
77 |
-
gallery = gr.Gallery(get_gallery, every=3000, columns=5, container=False)
|
78 |
|
79 |
with gr.Column():
|
80 |
title = gr.Markdown("title", visible=False, elem_classes=['center'])
|
|
|
9 |
from datasets import DownloadMode, VerificationMode
|
10 |
|
11 |
STYLES = """
|
12 |
+
#gallery {
|
13 |
+
height: 500px !important;
|
14 |
+
}
|
15 |
+
|
16 |
.center {
|
17 |
text-align: center;
|
18 |
}
|
|
|
78 |
"regularly updated in a daily basis.",
|
79 |
elem_classes=['small-big', 'center'])
|
80 |
|
81 |
+
gallery = gr.Gallery(get_gallery, every=3000, columns=5, container=False, elem_id="gallery")
|
82 |
|
83 |
with gr.Column():
|
84 |
title = gr.Markdown("title", visible=False, elem_classes=['center'])
|