Spaces:
Paused
Paused
Commit
·
734d64b
1
Parent(s):
751b092
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from diffusers import DiffusionPipeline, StableDiffusionLatentUpscalePipeline
|
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
shal44/realisticv13.3
|
10 |
#pipe = DiffusionPipeline.from_pretrained("dreamlike-art/dreamlike-photoreal-2.0", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
|
11 |
-
pipe = DiffusionPipeline.from_pretrained("
|
12 |
upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16)
|
13 |
upscaler = upscaler.to(device)
|
14 |
pipe = pipe.to(device)
|
|
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
shal44/realisticv13.3
|
10 |
#pipe = DiffusionPipeline.from_pretrained("dreamlike-art/dreamlike-photoreal-2.0", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
|
11 |
+
pipe = DiffusionPipeline.from_pretrained("models/stablediffusionapi/juggernaut-xl-v5" , torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
|
12 |
upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16)
|
13 |
upscaler = upscaler.to(device)
|
14 |
pipe = pipe.to(device)
|