Spaces:
Paused
Paused
tomerkeren42
commited on
Commit
•
c74a841
1
Parent(s):
34ed56a
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from PIL import Image, ImageOps
|
|
6 |
|
7 |
|
8 |
# Load pipeline once
|
9 |
-
model_id = '/
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, custom_pipeline=model_id, torch_dtype=torch.float32)
|
12 |
pipe.unet = pipe.unet.from_pretrained(model_id, subfolder='flexible_unet', torch_dtype=torch.float32)
|
|
|
6 |
|
7 |
|
8 |
# Load pipeline once
|
9 |
+
model_id = 'Deci/DeciDiffusion-v1-0'
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, custom_pipeline=model_id, torch_dtype=torch.float32)
|
12 |
pipe.unet = pipe.unet.from_pretrained(model_id, subfolder='flexible_unet', torch_dtype=torch.float32)
|