Spaces:
Running
on
Zero
Running
on
Zero
aifeifei798
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from diffusers import DiffusionPipeline, AutoencoderTiny
|
|
8 |
dtype = torch.bfloat16
|
9 |
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
-
|
12 |
device
|
13 |
)
|
14 |
|
|
|
8 |
dtype = torch.bfloat16
|
9 |
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
+
taef1 = AutoencoderTiny.from_pretrained("aifeifei798/taef1", torch_dtype=dtype).to(
|
12 |
device
|
13 |
)
|
14 |
|