Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ class Dummy():
|
|
11 |
|
12 |
resolutions = ["1024 1024","1280 768","1344 768","768 1344","768 1280" ]
|
13 |
|
14 |
-
# Load pipeline
|
15 |
|
16 |
unet = UNet2DConditionModel.from_pretrained("briaai/BRIA-LCM-2.2", torch_dtype=torch.float16)
|
17 |
pipe = DiffusionPipeline.from_pretrained("briaai/BRIA-2.2", unet=unet, torch_dtype=torch.float16)
|
|
|
11 |
|
12 |
resolutions = ["1024 1024","1280 768","1344 768","768 1344","768 1280" ]
|
13 |
|
14 |
+
# Load pipeline
|
15 |
|
16 |
unet = UNet2DConditionModel.from_pretrained("briaai/BRIA-LCM-2.2", torch_dtype=torch.float16)
|
17 |
pipe = DiffusionPipeline.from_pretrained("briaai/BRIA-2.2", unet=unet, torch_dtype=torch.float16)
|