Skip to content

https://hf.co/hexgrad/Kokoro-82M

Python

Readme: Add conda env file. (#33)

Farseen87766f8d580f
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.