Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse filesTesting photoreal 3.3
app.py
CHANGED
@@ -7,7 +7,7 @@ from diffusers import DiffusionPipeline, StableDiffusionLatentUpscalePipeline
|
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
|
10 |
-
pipe = DiffusionPipeline.from_pretrained("
|
11 |
pipe = pipe.to(device)
|
12 |
pipe.enable_xformers_memory_efficient_attention()
|
13 |
upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16, safety_checker=None)
|
|
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
|
10 |
+
pipe = DiffusionPipeline.from_pretrained("circulus/canvers-photoreal-v3.3", torch_dtype=torch.float16, safety_checker=None)
|
11 |
pipe = pipe.to(device)
|
12 |
pipe.enable_xformers_memory_efficient_attention()
|
13 |
upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("stabilityai/sd-x2-latent-upscaler", torch_dtype=torch.float16, safety_checker=None)
|