Spaces:
Running
on
T4
Running
on
T4
Krebzonide
commited on
Commit
•
686e886
1
Parent(s):
02c54be
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,8 @@ def set_base_models():
|
|
45 |
img2img = StableDiffusionImg2ImgPipeline.from_pretrained(
|
46 |
"Lykon/dreamshaper-8",
|
47 |
torch_dtype = torch.float16,
|
48 |
-
variant = "fp16"
|
|
|
49 |
)
|
50 |
img2img.to("cuda")
|
51 |
return txt2img, img2img
|
|
|
45 |
img2img = StableDiffusionImg2ImgPipeline.from_pretrained(
|
46 |
"Lykon/dreamshaper-8",
|
47 |
torch_dtype = torch.float16,
|
48 |
+
variant = "fp16",
|
49 |
+
safety_checker=None
|
50 |
)
|
51 |
img2img.to("cuda")
|
52 |
return txt2img, img2img
|