Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from diffusers import (
|
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
model_id = "IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Anime-Chinese-v0.1"
|
12 |
|
13 |
-
pipe_text2img = StableDiffusionPipeline.from_pretrained(model_id
|
14 |
model_path = "souljoy/sd-pokemon-model-lora-zh"
|
15 |
pipe_text2img.unet.load_attn_procs(model_path)
|
16 |
pipe_text2img.to(device)
|
|
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
model_id = "IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Anime-Chinese-v0.1"
|
12 |
|
13 |
+
pipe_text2img = StableDiffusionPipeline.from_pretrained(model_id)
|
14 |
model_path = "souljoy/sd-pokemon-model-lora-zh"
|
15 |
pipe_text2img.unet.load_attn_procs(model_path)
|
16 |
pipe_text2img.to(device)
|