mattricesound commited on
Commit
392c881
·
verified ·
1 Parent(s): 0b2e835

Update model card

Browse files
Files changed (1) hide show
  1. README.md +6 -4
README.md CHANGED
@@ -44,7 +44,9 @@ from stable_audio_3 import StableAudioModel
44
  model = StableAudioModel.from_pretrained("medium-base")
45
  audio = model.generate(
46
  prompt="House music that encapsulates the feeling of being at a festival in the sunny weather with all your friends 124 BPM",
47
- duration=180
 
 
48
  )
49
  ```
50
 
@@ -78,11 +80,11 @@ conditioning = [{
78
  # Generate stereo audio
79
  output = generate_diffusion_cond_inpaint(
80
  model,
81
- steps=8,
82
- cfg_scale=1.0,
83
  conditioning=conditioning,
84
  sample_size=sample_size,
85
- sampler_type="pingpong",
86
  device=device
87
  )
88
 
 
44
  model = StableAudioModel.from_pretrained("medium-base")
45
  audio = model.generate(
46
  prompt="House music that encapsulates the feeling of being at a festival in the sunny weather with all your friends 124 BPM",
47
+ duration=180,
48
+ steps=50,
49
+ cfg_scale=7.0
50
  )
51
  ```
52
 
 
80
  # Generate stereo audio
81
  output = generate_diffusion_cond_inpaint(
82
  model,
83
+ steps=50,
84
+ cfg_scale=7.0,
85
  conditioning=conditioning,
86
  sample_size=sample_size,
87
+ sampler_type="euler",
88
  device=device
89
  )
90