From 87766f8d580fa26b1e29712e7556f8f071497dfe Mon Sep 17 00:00:00 2001 From: Farseen Date: Sat, 1 Feb 2025 23:00:20 +0530 Subject: [PATCH] Readme: Add conda env file. (#33) --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 88d8558..91108ce 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,22 @@ for i, (gs, ps, audio) in enumerate(generator): Under the hood, `kokoro` uses [`misaki`](https://pypi.org/project/misaki/), a G2P library at https://github.com/hexgrad/misaki +### Conda Environment + +Use the following conda `environment.yml` if you're facing any dependency issues. +```yaml +name: kokoro +channels: + - defaults +dependencies: + - python==3.9 + - libstdcxx~=12.4.0 # Needed to load espeak correctly. Try removing this if you're facing issues with Espeak fallback. + - pip: + - kokoro>=0.3.1 + - soundfile + - misaki[en] +``` + ### Acknowledgements - 🛠️ [@yl4579](https://huggingface.co/yl4579) for architecting StyleTTS 2.