vladislavbro commited on
Commit
d0b8166
·
verified ·
1 Parent(s): 555a78e

add versioning info to inference script

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -61,6 +61,8 @@ Chatterbox is provided in an exported ONNX format, enabling fast and portable in
61
  [ONNX Export and Inference script](https://github.com/VladOS95-cyber/onnx_conversion_scripts/tree/main/chatterbox)
62
 
63
  ```python
 
 
64
  import onnxruntime
65
 
66
  from huggingface_hub import hf_hub_download
@@ -72,8 +74,6 @@ import librosa
72
  import soundfile as sf
73
 
74
  S3GEN_SR = 24000
75
-
76
- # Sampling rate of the inputs to S3TokenizerV2
77
  START_SPEECH_TOKEN = 6561
78
  STOP_SPEECH_TOKEN = 6562
79
 
 
61
  [ONNX Export and Inference script](https://github.com/VladOS95-cyber/onnx_conversion_scripts/tree/main/chatterbox)
62
 
63
  ```python
64
+ # !pip install --upgrade onnxruntime==1.22.1 huggingface_hub==0.34.4 transformers==4.46.3 numpy==2.2.6 tqdm==4.67.1 librosa==0.11.0 soundfile==0.13.1
65
+
66
  import onnxruntime
67
 
68
  from huggingface_hub import hf_hub_download
 
74
  import soundfile as sf
75
 
76
  S3GEN_SR = 24000
 
 
77
  START_SPEECH_TOKEN = 6561
78
  STOP_SPEECH_TOKEN = 6562
79