Spaces:
Paused
Paused
Dagfinn1962
commited on
Commit
•
00254b6
1
Parent(s):
3abfd84
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ from diffusers import DiffusionPipeline, StableDiffusionLatentUpscalePipeline
|
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
#pipe = DiffusionPipeline.from_pretrained("stablediffusionapi/uber-realistic-porn-merge", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
|
10 |
#pipe = DiffusionPipeline.from_pretrained("dreamlike-art/dreamlike-photoreal-2.0", torch_dtype=torch.float16, safety_checker=None)
|
11 |
-
pipe = DiffusionPipeline.from_pretrained("XpucT/Deliberate", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
|
12 |
-
|
13 |
|
14 |
upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16)
|
15 |
upscaler = upscaler.to(device)
|
|
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
#pipe = DiffusionPipeline.from_pretrained("stablediffusionapi/uber-realistic-porn-merge", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
|
10 |
#pipe = DiffusionPipeline.from_pretrained("dreamlike-art/dreamlike-photoreal-2.0", torch_dtype=torch.float16, safety_checker=None)
|
11 |
+
#pipe = DiffusionPipeline.from_pretrained("XpucT/Deliberate", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
|
12 |
+
pipe = DiffusionPipeline.from_pretrained("shal44/realisticv13.3", torch_dtype=torch.float16, safety_checker=None, use_safetensors=False)
|
13 |
|
14 |
upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16)
|
15 |
upscaler = upscaler.to(device)
|