prince-canuma commited on
Commit
5cf8b65
·
verified ·
1 Parent(s): b88a8ee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -11
README.md CHANGED
@@ -1,7 +1,29 @@
1
  ---
2
  license: apache-2.0
3
  language:
4
- - en
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  base_model:
6
  - ResembleAI/chatterbox
7
  pipeline_tag: text-to-speech
@@ -31,19 +53,18 @@ pip install -U mlx-audio
31
  ```
32
  ### Python Example:
33
  ```python
34
- from mlx_audio.tts.utils import load_model
35
- from mlx_audio.tts.generate import generate_audio
36
- model = load_model("mlx-community/chatterbox-fp16")
37
- generate_audio(
38
- model=model, text="Hello, this is a test.",
39
- ref_audio="path_to_audio.wav",
40
- file_prefix="test_audio",
41
- )
42
  ```
43
 
44
  ### Voice Cloning:
45
- ```bash
46
- mlx_audio.tts.generate --model mlx-community/chatterbox-fp16 --text "Hello, this is a test of Chatterbox TTS." --ref_audio path_to_file.wav --play
47
 
48
  generate_audio(
49
  text="Hello, this is a test of Chatterbox TTS.",
 
1
  ---
2
  license: apache-2.0
3
  language:
4
+ - ar
5
+ - da
6
+ - de
7
+ - el
8
+ - en
9
+ - es
10
+ - fi
11
+ - fr
12
+ - he
13
+ - hi
14
+ - it
15
+ - ja
16
+ - ko
17
+ - ms
18
+ - nl
19
+ - no
20
+ - pl
21
+ - pt
22
+ - ru
23
+ - sv
24
+ - sw
25
+ - tr
26
+ - zh
27
  base_model:
28
  - ResembleAI/chatterbox
29
  pipeline_tag: text-to-speech
 
53
  ```
54
  ### Python Example:
55
  ```python
56
+ from mlx_audio.tts.utils import load_model
57
+ from mlx_audio.tts.generate import generate_audio
58
+ model = load_model("mlx-community/chatterbox-fp16")
59
+ generate_audio(
60
+ model=model, text="Hello, this is a test.",
61
+ file_prefix="test_audio",
62
+ )
 
63
  ```
64
 
65
  ### Voice Cloning:
66
+ ```python
67
+ from mlx_audio.tts.generate import generate_audio
68
 
69
  generate_audio(
70
  text="Hello, this is a test of Chatterbox TTS.",