mrolando commited on
Commit
6e5a5d5
1 Parent(s): b2d4aa4

changed torch

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -12,10 +12,7 @@ else:
12
  print(device)
13
  repo_id = "cvssp/audioldm-m-full"
14
  pipe = AudioLDMPipeline.from_pretrained(repo_id, torch_dtype=torch_dtype)
15
- pipe.unet = torch.compile(pipe.unet)
16
-
17
- prompt = "Techno music with a strong, upbeat tempo and high melodic riffs"
18
-
19
 
20
  def generate_sound(text):
21
  print(text)
 
12
  print(device)
13
  repo_id = "cvssp/audioldm-m-full"
14
  pipe = AudioLDMPipeline.from_pretrained(repo_id, torch_dtype=torch_dtype)
15
+ #pipe.unet = torch.compile(pipe.unet)
 
 
 
16
 
17
  def generate_sound(text):
18
  print(text)