Spaces:
Runtime error
Runtime error
matias
commited on
Commit
·
ee676a1
1
Parent(s):
60d3210
fixed error while processing
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ else:
|
|
12 |
print(device)
|
13 |
repo_id = "cvssp/audioldm-m-full"
|
14 |
pipe = AudioLDMPipeline.from_pretrained(repo_id, torch_dtype=torch_dtype)
|
15 |
-
pipe = pipe.to(device)
|
16 |
-
|
17 |
#pipe.unet = torch.compile(pipe.unet)
|
18 |
|
19 |
def generate_sound(text):
|
|
|
12 |
print(device)
|
13 |
repo_id = "cvssp/audioldm-m-full"
|
14 |
pipe = AudioLDMPipeline.from_pretrained(repo_id, torch_dtype=torch_dtype)
|
15 |
+
#pipe = pipe.to(device)
|
16 |
+
pipe.unet = torch.compile(pipe.unet)
|
17 |
#pipe.unet = torch.compile(pipe.unet)
|
18 |
|
19 |
def generate_sound(text):
|