Update README with color formatted Python code block

#11
by sugatoray - opened
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
+ ```