Spaces:
Running
Running
Kazuto Nakashima
commited on
Commit
·
16bad3d
1
Parent(s):
94af89f
fix
Browse files
app.py
CHANGED
@@ -148,7 +148,21 @@ def generate(num_steps: int, sampling_mode: str, dataset: str, progress=gr.Progr
|
|
148 |
return depth, rflct, fig
|
149 |
|
150 |
|
151 |
-
with gr.Blocks(css="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
gr.HTML(DESCRIPTION)
|
153 |
|
154 |
with gr.Row(variant="panel"):
|
|
|
148 |
return depth, rflct, fig
|
149 |
|
150 |
|
151 |
+
with gr.Blocks(css="""
|
152 |
+
.head {
|
153 |
+
text-align: center;
|
154 |
+
display: block;
|
155 |
+
font-size: var(--text-xl);
|
156 |
+
}
|
157 |
+
.title {
|
158 |
+
font-size: var(--text-xxl);
|
159 |
+
font-weight: bold;
|
160 |
+
margin-top: 2rem;
|
161 |
+
}
|
162 |
+
.description {
|
163 |
+
font-size: var(--text-lg);
|
164 |
+
}
|
165 |
+
""", theme=THEME) as demo:
|
166 |
gr.HTML(DESCRIPTION)
|
167 |
|
168 |
with gr.Row(variant="panel"):
|
style.css
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
.head {
|
2 |
-
text-align: center;
|
3 |
-
display: block;
|
4 |
-
font-size: var(--text-xl);
|
5 |
-
}
|
6 |
-
|
7 |
-
.title {
|
8 |
-
font-size: var(--text-xxl);
|
9 |
-
font-weight: bold;
|
10 |
-
margin-top: 2rem;
|
11 |
-
}
|
12 |
-
|
13 |
-
.description {
|
14 |
-
font-size: var(--text-lg);
|
15 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|