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