Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from diffusers import StableDiffusionPipeline, DPMSolverMultistepScheduler
|
|
3 |
import torch
|
4 |
from PIL import Image
|
5 |
|
6 |
-
model_id = "alibaba-pai/pai-diffusion-
|
7 |
pipe = StableDiffusionPipeline.from_pretrained(model_id)
|
8 |
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
|
9 |
pipe = pipe.to("cuda")
|
|
|
3 |
import torch
|
4 |
from PIL import Image
|
5 |
|
6 |
+
model_id = "alibaba-pai/pai-diffusion-artist-large-zh"
|
7 |
pipe = StableDiffusionPipeline.from_pretrained(model_id)
|
8 |
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
|
9 |
pipe = pipe.to("cuda")
|