Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -314,7 +314,7 @@ else:
|
|
314 |
add_watermarker=False
|
315 |
).to(device)
|
316 |
pipe2 = StableDiffusionXLPipeline.from_pretrained(
|
317 |
-
"SG161222/RealVisXL_V4.
|
318 |
torch_dtype=dtype,
|
319 |
use_safetensors=True,
|
320 |
add_watermarker=False,
|
@@ -447,7 +447,16 @@ h1 {
|
|
447 |
}
|
448 |
'''
|
449 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
|
451 |
with gr.Row():
|
452 |
with gr.Column(scale=1):
|
453 |
prompt = gr.Text(
|
|
|
314 |
add_watermarker=False
|
315 |
).to(device)
|
316 |
pipe2 = StableDiffusionXLPipeline.from_pretrained(
|
317 |
+
"SG161222/RealVisXL_V4.0_Lightning",
|
318 |
torch_dtype=dtype,
|
319 |
use_safetensors=True,
|
320 |
add_watermarker=False,
|
|
|
447 |
}
|
448 |
'''
|
449 |
|
450 |
+
title = """<h1 align="center">FLUX.1-dev with Qwen2VL Captioner and Prompt Enhancer</h1>
|
451 |
+
<p><center>
|
452 |
+
<a href="https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning" target="_blank">[Lightning 4]</a>
|
453 |
+
<a href="https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning" target="_blank">[Lightning 4]</a>
|
454 |
+
<a href="https://huggingface.co/cagliostrolab/animagine-xl-4.0" target="_blank">[Animagine 4]</a>
|
455 |
+
</center></p>
|
456 |
+
"""
|
457 |
+
|
458 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
459 |
+
gr.HTML(title)
|
460 |
with gr.Row():
|
461 |
with gr.Column(scale=1):
|
462 |
prompt = gr.Text(
|