Skip to content

Commit

Permalink
parler support
Browse files Browse the repository at this point in the history
  • Loading branch information
KoljaB committed Oct 29, 2024
1 parent 575b417 commit 695249d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,17 @@ Latest Version: v0.4.8

See [release history](https://github.com/KoljaB/RealtimeTTS/releases).

Added ParlerEngine. Needs flash attention, then barely runs fast enough for realtime inference on a 4090. Installation for Windows:
Added ParlerEngine. Needs flash attention, then barely runs fast enough for realtime inference on a 4090.

Parler Installation for Windows (after installing RealtimeTTS):

```python
pip install RealtimeTTS[parler]
pip install git+https://github.com/huggingface/parler-tts.git
pip install torch==2.3.1+cu121 torchaudio==2.3.1 --index-url https://download.pytorch.org/whl/cu121
pip install https://github.com/oobabooga/flash-attention/releases/download/v2.6.3/flash_attn-2.6.3+cu122torch2.3.1cxx11abiFALSE-cp310-cp310-win_amd64.whl
pip install "numpy<2"
```

## Tech Stack

This library uses:
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ def parse_requirements(filename):
+ [requirements["openai"]]
+ [requirements["gtts"]]
+ [requirements["coqui_tts"]]
+ ["parler-tts @ git+https://github.com/huggingface/parler-tts.git"],
"system": base_requirements + [requirements["pyttsx3"]],
"azure": base_requirements + [requirements["azure-cognitiveservices-speech"]],
"elevenlabs": base_requirements + [requirements["elevenlabs"]],
"openai": base_requirements + [requirements["openai"]],
"gtts": base_requirements + [requirements["gtts"]],
"coqui": base_requirements + [requirements["coqui_tts"]],
"parler": base_requirements + ["parler-tts @ git+https://github.com/huggingface/parler-tts.git"],
"jp": base_requirements + ["mecab-python3==1.0.6", "unidic-lite==1.0.8", "cutlet"],
"ko": base_requirements + ["hangul_romanize"],
}
Expand Down

0 comments on commit 695249d

Please sign in to comment.