Spaces:
Runtime error
Runtime error
mrolando
commited on
Commit
·
6e5a5d5
1
Parent(s):
b2d4aa4
changed torch
Browse files
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)
|