Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -386,20 +386,6 @@ html, .gradio-container, .dark, .dark * {
|
|
| 386 |
}
|
| 387 |
.gradio-spinner { display: none !important; }
|
| 388 |
|
| 389 |
-
#custom-loader {
|
| 390 |
-
align-items: center;
|
| 391 |
-
justify-content: center;
|
| 392 |
-
font-weight: bold;
|
| 393 |
-
position: fixed !important;
|
| 394 |
-
top: 50% !important;
|
| 395 |
-
left: 50% !important;
|
| 396 |
-
transform: translate(-50%, -50%) !important;
|
| 397 |
-
width: 100vw !important;
|
| 398 |
-
height: 100vh !important;
|
| 399 |
-
display: flex !important;
|
| 400 |
-
z-index: 9999 !important;
|
| 401 |
-
background-color: rgba(255, 250, 241, 0.9) !important;
|
| 402 |
-
}
|
| 403 |
#component-25{
|
| 404 |
height: 50vw !important;
|
| 405 |
}
|
|
@@ -451,37 +437,10 @@ span.svelte-g2oxp3, label.svelte-5ncdh7.svelte-5ncdh7.svelte-5ncdh7 {
|
|
| 451 |
.max_value.svelte-10lj3xl.svelte-10lj3xl, span.min_value {
|
| 452 |
color: #a54618 !important;
|
| 453 |
}
|
| 454 |
-
body.gradio-running #custom-loader { display: flex; }
|
| 455 |
-
#custom-loader, .loading-text {
|
| 456 |
-
width: auto !important;
|
| 457 |
-
height: auto !important;
|
| 458 |
-
}
|
| 459 |
@keyframes fadeLetter {
|
| 460 |
0%,100% { opacity: 1; }
|
| 461 |
50% { opacity: 0.2; }
|
| 462 |
}
|
| 463 |
-
#custom-loader .loading-text span {
|
| 464 |
-
display: inline-block;
|
| 465 |
-
animation: fadeLetter 1.8s ease-in-out infinite;
|
| 466 |
-
font-size:3em;
|
| 467 |
-
}
|
| 468 |
-
#custom-loader img {
|
| 469 |
-
width: 64px;
|
| 470 |
-
height: 64px;
|
| 471 |
-
border-radius: 50%;
|
| 472 |
-
margin-left: 8px;
|
| 473 |
-
display: inline-block;
|
| 474 |
-
animation: jump 2s infinite ease-in-out;
|
| 475 |
-
vertical-align: middle;
|
| 476 |
-
}
|
| 477 |
-
.svelte-zyxd38{
|
| 478 |
-
width: 100% !important;
|
| 479 |
-
height: 100% !important;
|
| 480 |
-
}
|
| 481 |
-
@keyframes jump {
|
| 482 |
-
0%, 100% { transform: translateY(10px); opacity: 1;}
|
| 483 |
-
50% { transform: translateY(-10px); opacity: 1;}
|
| 484 |
-
}
|
| 485 |
.nobackground, .nobackground div, .nobackground.parent.parent.parent {
|
| 486 |
background-color: transparent !important;
|
| 487 |
}
|
|
@@ -498,7 +457,7 @@ progress::-moz-progress-bar {
|
|
| 498 |
|
| 499 |
"""
|
| 500 |
|
| 501 |
-
with gr.Blocks(css=css, theme=gr.themes.Default(font=[gr.themes.GoogleFont("Playpen Sans Hebrew"), "
|
| 502 |
with gr.Column(elem_id="col-container"):
|
| 503 |
gr.HTML('<section class="nobackground"><h2>SDXL – Re:cocoamixXL3 (coamixXL3) Demo</h2><br>The log is shared with other. (No more than 10 images will be displayed in history.)<br>Please use this model at your own risk. I am not responsible in any way for any problems with the generated images.</section>')
|
| 504 |
gr.HTML('<section class="nobackground"><a href="https://civitai.com/models/1553716?modelVersionId=1855218" target="_blank">Link: Civitai</a></section>')
|
|
|
|
| 386 |
}
|
| 387 |
.gradio-spinner { display: none !important; }
|
| 388 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 389 |
#component-25{
|
| 390 |
height: 50vw !important;
|
| 391 |
}
|
|
|
|
| 437 |
.max_value.svelte-10lj3xl.svelte-10lj3xl, span.min_value {
|
| 438 |
color: #a54618 !important;
|
| 439 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 440 |
@keyframes fadeLetter {
|
| 441 |
0%,100% { opacity: 1; }
|
| 442 |
50% { opacity: 0.2; }
|
| 443 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 444 |
.nobackground, .nobackground div, .nobackground.parent.parent.parent {
|
| 445 |
background-color: transparent !important;
|
| 446 |
}
|
|
|
|
| 457 |
|
| 458 |
"""
|
| 459 |
|
| 460 |
+
with gr.Blocks(css=css, theme=gr.themes.Default(font=[gr.themes.GoogleFont("Playpen Sans Hebrew"), "sans-serif"])) as demo:
|
| 461 |
with gr.Column(elem_id="col-container"):
|
| 462 |
gr.HTML('<section class="nobackground"><h2>SDXL – Re:cocoamixXL3 (coamixXL3) Demo</h2><br>The log is shared with other. (No more than 10 images will be displayed in history.)<br>Please use this model at your own risk. I am not responsible in any way for any problems with the generated images.</section>')
|
| 463 |
gr.HTML('<section class="nobackground"><a href="https://civitai.com/models/1553716?modelVersionId=1855218" target="_blank">Link: Civitai</a></section>')
|