Dagfinn1962 commited on
Commit
111d3a7
1 Parent(s): f0552b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -6,7 +6,10 @@ from PIL import Image
6
  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
  upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16)
11
  upscaler = upscaler.to(device)
12
  pipe = pipe.to(device)
 
6
  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
+
11
+ pipe = DiffusionPipeline.from_pretrained("XpucT/Deliberate", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
12
+
13
  upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16)
14
  upscaler = upscaler.to(device)
15
  pipe = pipe.to(device)