BerenMillidge sugatoray commited on
Commit
6f03ac6
·
verified ·
1 Parent(s): 48dff90

Update README with color formatted Python code block (#11)

Browse files

- Update README with color formatted Python code block (b73cb3b82844991845c684238ee280cd79d458a2)


Co-authored-by: Sugato Ray <[email protected]>

Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -80,7 +80,8 @@ This will produce `sample.wav` in the `Zonos` directory.
80
 
81
  ## Getting started with Zonos in python
82
  Once you have Zonos installed try generating audio programmatically in python
83
- ```python3
 
84
  import torch
85
  import torchaudio
86
  from zonos.model import Zonos
@@ -106,4 +107,4 @@ codes = model.generate(conditioning)
106
 
107
  wavs = model.autoencoder.decode(codes).cpu()
108
  torchaudio.save("sample.wav", wavs[0], model.autoencoder.sampling_rate)
109
- ```
 
80
 
81
  ## Getting started with Zonos in python
82
  Once you have Zonos installed try generating audio programmatically in python
83
+
84
+ ```python
85
  import torch
86
  import torchaudio
87
  from zonos.model import Zonos
 
107
 
108
  wavs = model.autoencoder.decode(codes).cpu()
109
  torchaudio.save("sample.wav", wavs[0], model.autoencoder.sampling_rate)
110
+ ```