Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ InferenceClient=InferenceClient()
|
|
19 |
|
20 |
apol=[]
|
21 |
|
22 |
-
accelerator.prepare(AmusedPipeline.from_pretrained("amused/amused-512", variant=None, torch_dtype=torch.float32, use_safetensors=True))
|
23 |
pipe.vqvae.to(torch.float32)
|
24 |
pipe.to("cpu")
|
25 |
|
|
|
19 |
|
20 |
apol=[]
|
21 |
|
22 |
+
pipe = accelerator.prepare(AmusedPipeline.from_pretrained("amused/amused-512", variant=None, torch_dtype=torch.float32, use_safetensors=True))
|
23 |
pipe.vqvae.to(torch.float32)
|
24 |
pipe.to("cpu")
|
25 |
|