Spaces:
Running
on
Zero
Running
on
Zero
ameerazam08
commited on
Commit
•
004c74c
1
Parent(s):
1d40f41
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def generate_audio(prompt, bpm, seconds_total):
|
|
13 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
14 |
|
15 |
# Download model
|
16 |
-
model, model_config = get_pretrained_model("stabilityai/stable-audio-open-1.0"
|
17 |
sample_rate = model_config["sample_rate"]
|
18 |
sample_size = model_config["sample_size"]
|
19 |
|
|
|
13 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
14 |
|
15 |
# Download model
|
16 |
+
model, model_config = get_pretrained_model("stabilityai/stable-audio-open-1.0")
|
17 |
sample_rate = model_config["sample_rate"]
|
18 |
sample_size = model_config["sample_size"]
|
19 |
|