fix README.md: using with stable-audio-3 code block style

#1
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -34,6 +34,7 @@ This model can be used with:
34
 
35
 
36
  ### Using with `stable-audio-3`
 
37
  import torchaudio
38
  from stable_audio_3 import AutoencoderModel
39
 
@@ -41,7 +42,7 @@ ae = AutoencoderModel.from_pretrained("same-l")
41
  waveform, sr = torchaudio.load("audio.wav")
42
  latents = ae.encode(waveform, sr)
43
  audio_out = ae.decode(latents)
44
-
45
 
46
  ### Using with `stable-audio-tools`
47
 
 
34
 
35
 
36
  ### Using with `stable-audio-3`
37
+ ```python
38
  import torchaudio
39
  from stable_audio_3 import AutoencoderModel
40
 
 
42
  waveform, sr = torchaudio.load("audio.wav")
43
  latents = ae.encode(waveform, sr)
44
  audio_out = ae.decode(latents)
45
+ ```
46
 
47
  ### Using with `stable-audio-tools`
48