Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -257,7 +257,15 @@ else:
|
|
257 |
# Process styles
|
258 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
259 |
|
260 |
-
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
|
262 |
with gr.Row():
|
263 |
with gr.Column(scale=2):
|
@@ -407,6 +415,10 @@ with gr.Blocks() as demo:
|
|
407 |
|
408 |
# Discord button in a new full row
|
409 |
with gr.Row():
|
|
|
|
|
|
|
|
|
410 |
|
411 |
use_upscaler.change(
|
412 |
fn=lambda x: [gr.update(visible=x), gr.update(visible=x)],
|
|
|
257 |
# Process styles
|
258 |
styles = {k["name"]: (k["prompt"], k["negative_prompt"]) for k in style_list}
|
259 |
|
260 |
+
with gr.Blocks(css="style.css", theme="Nymbo/Nymbo_Theme_5") as demo:
|
261 |
+
gr.HTML(
|
262 |
+
"""
|
263 |
+
<div class="header">
|
264 |
+
<div class="title">ANIM4GINE</div>
|
265 |
+
<div class="subtitle">Gradio demo for <a href="https://huggingface.co/CagliostroLab/Animagine-XL-4.0" target="_blank">Animagine XL 4.0</a></div>
|
266 |
+
</div>
|
267 |
+
""",
|
268 |
+
)
|
269 |
|
270 |
with gr.Row():
|
271 |
with gr.Column(scale=2):
|
|
|
415 |
|
416 |
# Discord button in a new full row
|
417 |
with gr.Row():
|
418 |
+
gr.HTML(
|
419 |
+
"""
|
420 |
+
"""
|
421 |
+
)
|
422 |
|
423 |
use_upscaler.change(
|
424 |
fn=lambda x: [gr.update(visible=x), gr.update(visible=x)],
|