Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ from transformers.image_utils import load_image
|
|
| 24 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 25 |
|
| 26 |
DESCRIPTION = """
|
| 27 |
-
# Gen Vision
|
| 28 |
"""
|
| 29 |
|
| 30 |
css = '''
|
|
@@ -199,7 +199,7 @@ def generate(
|
|
| 199 |
command_tag = "@" + key_lower
|
| 200 |
if text.strip().lower().startswith(command_tag):
|
| 201 |
prompt_text = text.strip()[len(command_tag):].strip()
|
| 202 |
-
yield f"Generating image with {key} style..."
|
| 203 |
image_paths, used_seed = generate_image(
|
| 204 |
prompt=prompt_text,
|
| 205 |
negative_prompt="",
|
|
|
|
| 24 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 25 |
|
| 26 |
DESCRIPTION = """
|
| 27 |
+
# Gen Vision π
|
| 28 |
"""
|
| 29 |
|
| 30 |
css = '''
|
|
|
|
| 199 |
command_tag = "@" + key_lower
|
| 200 |
if text.strip().lower().startswith(command_tag):
|
| 201 |
prompt_text = text.strip()[len(command_tag):].strip()
|
| 202 |
+
yield f"π Generating image with {key} style..."
|
| 203 |
image_paths, used_seed = generate_image(
|
| 204 |
prompt=prompt_text,
|
| 205 |
negative_prompt="",
|