Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import torch
|
|
10 |
from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
|
11 |
|
12 |
DESCRIPTION = """
|
13 |
-
# DALL
|
14 |
"""
|
15 |
|
16 |
def save_image(img):
|
@@ -48,7 +48,7 @@ else:
|
|
48 |
)
|
49 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
50 |
|
51 |
-
|
52 |
def generate(
|
53 |
prompt: str,
|
54 |
negative_prompt: str = "",
|
|
|
10 |
from diffusers import StableDiffusionPipeline, EulerAncestralDiscreteScheduler
|
11 |
|
12 |
DESCRIPTION = """
|
13 |
+
# DALL XL v2
|
14 |
"""
|
15 |
|
16 |
def save_image(img):
|
|
|
48 |
)
|
49 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
50 |
|
51 |
+
|
52 |
def generate(
|
53 |
prompt: str,
|
54 |
negative_prompt: str = "",
|