Dagfinn1962 commited on
Commit
0c3cb32
·
1 Parent(s): 72f9485

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from diffusers import DiffusionPipeline, StableDiffusionLatentUpscalePipeline
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
  #pipe = DiffusionPipeline.from_pretrained("dreamlike-art/dreamlike-photoreal-2.0", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
10
- pipe = DiffusionPipeline.from_pretrained("models/stablediffusionapi/juggernaut-xl-v5" , torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
11
  upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16)
12
  upscaler = upscaler.to(device)
13
  pipe = pipe.to(device)
 
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
  #pipe = DiffusionPipeline.from_pretrained("dreamlike-art/dreamlike-photoreal-2.0", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
10
+ pipe = DiffusionPipeline.from_pretrained("circulus/sd-photoreal-semi-v2" , torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
11
  upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16)
12
  upscaler = upscaler.to(device)
13
  pipe = pipe.to(device)