muhtasham commited on
Commit
ae07922
·
verified ·
1 Parent(s): 1f5b543

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -15
README.md CHANGED
@@ -16,21 +16,9 @@ The Model [muhtasham/spark-tj-mlx-fp16](https://huggingface.co/muhtasham/spark-t
16
  ## Use with mlx
17
 
18
  ```bash
19
- pip install mlx-lm
20
  ```
21
 
22
- ```python
23
- from mlx_lm import load, generate
24
-
25
- model, tokenizer = load("muhtasham/spark-tj-mlx-fp16")
26
-
27
- prompt="hello"
28
-
29
- if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
30
- messages = [{"role": "user", "content": prompt}]
31
- prompt = tokenizer.apply_chat_template(
32
- messages, tokenize=False, add_generation_prompt=True
33
- )
34
-
35
- response = generate(model, tokenizer, prompt=prompt, verbose=True)
36
  ```
 
16
  ## Use with mlx
17
 
18
  ```bash
19
+ pip install -U mlx-audio
20
  ```
21
 
22
+ ```bash
23
+ python -m mlx_audio.tts.generate --model muhtasham/spark-tj-mlx-fp16 --text "Саломат бошед"
 
 
 
 
 
 
 
 
 
 
 
 
24
  ```