Update model card
Browse files
README.md
CHANGED
|
@@ -43,7 +43,10 @@ from stable_audio_3 import StableAudioModel
|
|
| 43 |
|
| 44 |
model = StableAudioModel.from_pretrained("medium-base")
|
| 45 |
audio = model.generate(
|
| 46 |
-
prompt=
|
|
|
|
|
|
|
|
|
|
| 47 |
duration=180,
|
| 48 |
steps=50,
|
| 49 |
cfg_scale=7.0
|
|
@@ -73,7 +76,10 @@ if model_half:
|
|
| 73 |
model = model.to(torch.float16)
|
| 74 |
# Set up text and timing conditioning
|
| 75 |
conditioning = [{
|
| 76 |
-
"prompt":
|
|
|
|
|
|
|
|
|
|
| 77 |
"seconds_total": 380
|
| 78 |
}]
|
| 79 |
|
|
|
|
| 43 |
|
| 44 |
model = StableAudioModel.from_pretrained("medium-base")
|
| 45 |
audio = model.generate(
|
| 46 |
+
prompt=(
|
| 47 |
+
"House music that encapsulates the feeling of being at a festival "
|
| 48 |
+
"in the sunny weather with all your friends 124 BPM"
|
| 49 |
+
),
|
| 50 |
duration=180,
|
| 51 |
steps=50,
|
| 52 |
cfg_scale=7.0
|
|
|
|
| 76 |
model = model.to(torch.float16)
|
| 77 |
# Set up text and timing conditioning
|
| 78 |
conditioning = [{
|
| 79 |
+
"prompt": (
|
| 80 |
+
"A dream-like Synthpop instrumental that would accompany "
|
| 81 |
+
"a dream-sequence in a surrealist movie 120 BPM"
|
| 82 |
+
),
|
| 83 |
"seconds_total": 380
|
| 84 |
}]
|
| 85 |
|