Spaces:
Paused
Paused
Commit
·
adc5158
1
Parent(s):
35f29b8
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ 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("
|
10 |
upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("SG161222/Realistic_Vision_V2.0", 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("reroti/DreamnetV1-3", torch_dtype=torch.float16, safety_checker=None)
|
10 |
upscaler = StableDiffusionLatentUpscalePipeline.from_pretrained("SG161222/Realistic_Vision_V2.0", torch_dtype=torch.float16)
|
11 |
upscaler = upscaler.to(device)
|
12 |
pipe = pipe.to(device)
|