souljoy commited on
Commit
0f7f713
·
1 Parent(s): 11b8a80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, torch_dtype=torch.float16)
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)