Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -177,6 +177,10 @@ span.svelte-g2oxp3, label.svelte-5ncdh7.svelte-5ncdh7.svelte-5ncdh7 {
|
|
| 177 |
color: #a54618 !important;
|
| 178 |
}
|
| 179 |
body.gradio-running #custom-loader { display: flex; }
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
@keyframes fadeLetter {
|
| 181 |
0%,100% { opacity: 1; }
|
| 182 |
50% { opacity: 0.2; }
|
|
@@ -252,8 +256,8 @@ window.addEventListener('load', () => {
|
|
| 252 |
fo.setAttribute('id', 'custom-loader-fo');
|
| 253 |
fo.setAttribute('width', '100%'); // SVG 内の表示エリア幅に合わせて調整
|
| 254 |
fo.setAttribute('height', '100%'); // SVG 内の表示エリア高さに合わせて調整
|
| 255 |
-
fo.setAttribute('x', '
|
| 256 |
-
fo.setAttribute('y', '
|
| 257 |
|
| 258 |
// HTML 部分を innerHTML で一発挿入
|
| 259 |
fo.innerHTML = `
|
|
|
|
| 177 |
color: #a54618 !important;
|
| 178 |
}
|
| 179 |
body.gradio-running #custom-loader { display: flex; }
|
| 180 |
+
#custom-loader, .loading-text {
|
| 181 |
+
width: auto !important;
|
| 182 |
+
height: auto !important;
|
| 183 |
+
}
|
| 184 |
@keyframes fadeLetter {
|
| 185 |
0%,100% { opacity: 1; }
|
| 186 |
50% { opacity: 0.2; }
|
|
|
|
| 256 |
fo.setAttribute('id', 'custom-loader-fo');
|
| 257 |
fo.setAttribute('width', '100%'); // SVG 内の表示エリア幅に合わせて調整
|
| 258 |
fo.setAttribute('height', '100%'); // SVG 内の表示エリア高さに合わせて調整
|
| 259 |
+
fo.setAttribute('x', '-200');
|
| 260 |
+
fo.setAttribute('y', '0');
|
| 261 |
|
| 262 |
// HTML 部分を innerHTML で一発挿入
|
| 263 |
fo.innerHTML = `
|