Update README.md
Browse files
README.md
CHANGED
@@ -43,14 +43,34 @@ git clone https://github.com/Fadi987/StyleTTS2
|
|
43 |
cd StyleTTS2
|
44 |
```
|
45 |
|
46 |
-
2. Install the
|
47 |
-
3. Download the model files from this repository
|
48 |
-
4. Run inference using:
|
49 |
```bash
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
```
|
52 |
|
53 |
-
Make sure to
|
|
|
|
|
|
|
54 |
|
55 |
### Out-of-Scope Use
|
56 |
|
|
|
43 |
cd StyleTTS2
|
44 |
```
|
45 |
|
46 |
+
2. Install the required system dependencies:
|
|
|
|
|
47 |
```bash
|
48 |
+
# For macOS
|
49 |
+
brew install espeak-ng
|
50 |
+
|
51 |
+
# For Ubuntu/Debian
|
52 |
+
sudo apt-get install espeak-ng
|
53 |
+
|
54 |
+
# For Windows
|
55 |
+
# Download and install espeak-ng from: https://github.com/espeak-ng/espeak-ng/releases
|
56 |
+
```
|
57 |
+
|
58 |
+
3. Install Python dependencies:
|
59 |
+
```bash
|
60 |
+
pip install -r requirements.txt
|
61 |
+
```
|
62 |
+
|
63 |
+
4. Download the model files from this repository
|
64 |
+
|
65 |
+
5. Run inference using:
|
66 |
+
```bash
|
67 |
+
python inference.py --config config.yml --model model.pth --text "ุงูุฅูุชูููุงูู ููุญูุชูุงุฌู ุฅูููู ุงููุนูู
ููู ููุงููู
ูุซูุงุจูุฑูุฉ"
|
68 |
```
|
69 |
|
70 |
+
Make sure to:
|
71 |
+
- Set the config path to point to the configuration file from this Hugging Face repository
|
72 |
+
- Install espeak-ng on your system as it's required for the phonemizer to work
|
73 |
+
- Use properly diacritized Arabic text for best results
|
74 |
|
75 |
### Out-of-Scope Use
|
76 |
|