JoPmt commited on
Commit
a2045eb
1 Parent(s): b31b364

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import os, random, gc
10
  import numpy as np
11
  from accelerate import Accelerator
12
  accelerator = Accelerator(cpu=True)
13
- pipe = accelerator.prepare(AmusedPipeline.from_pretrained("amused/amused-512", variant="fp32", torch_dtype=torch.float32, use_safetensors=True))
14
  pipe.vqvae.to(torch.float32)
15
  pipe = pipe.to("cpu")
16
  def plex(prompt):
 
10
  import numpy as np
11
  from accelerate import Accelerator
12
  accelerator = Accelerator(cpu=True)
13
+ pipe = accelerator.prepare(AmusedPipeline.from_pretrained("amused/amused-512", variant=None, torch_dtype=torch.float32, use_safetensors=True))
14
  pipe.vqvae.to(torch.float32)
15
  pipe = pipe.to("cpu")
16
  def plex(prompt):