Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,10 @@ import os
|
|
3 |
|
4 |
title="Prompt Converter"
|
5 |
description="""
|
6 |
-
|
|
|
7 |
<br />This demo converts a v1.x stable diffusion prompt to a stable diffusion 2.x prompt, by generating an image through RunwayML Stable Diffusion 1.5, then Interrogate the resulting image through CLIP Interrogator 2 to give you a Stable Diffusion 2 equivalent prompt.
|
|
|
8 |
"""
|
9 |
stable_diffusion = gr.Blocks.load(name="spaces/runwayml/stable-diffusion-v1-5")
|
10 |
clip_interrogator_2 = gr.Blocks.load(name="spaces/fffiloni/CLIP-Interrogator-2")
|
|
|
3 |
|
4 |
title="Prompt Converter"
|
5 |
description="""
|
6 |
+
<p style="text-align:center;">
|
7 |
+
Stable Diffusion 2 uses OpenCLIP ViT-H model trained on LAION dataset so it knows different things than the OpenAI ViT-L we're all used to prompting.
|
8 |
<br />This demo converts a v1.x stable diffusion prompt to a stable diffusion 2.x prompt, by generating an image through RunwayML Stable Diffusion 1.5, then Interrogate the resulting image through CLIP Interrogator 2 to give you a Stable Diffusion 2 equivalent prompt.
|
9 |
+
</p>
|
10 |
"""
|
11 |
stable_diffusion = gr.Blocks.load(name="spaces/runwayml/stable-diffusion-v1-5")
|
12 |
clip_interrogator_2 = gr.Blocks.load(name="spaces/fffiloni/CLIP-Interrogator-2")
|