Upload README.md
Browse files
README.md
CHANGED
@@ -62,7 +62,9 @@ Using 🐸TTS API:
|
|
62 |
|
63 |
```python
|
64 |
from TTS.api import TTS
|
65 |
-
|
|
|
|
|
66 |
|
67 |
# generate speech by cloning a voice using default settings
|
68 |
tts.tts_to_file(text="It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
|
|
|
62 |
|
63 |
```python
|
64 |
from TTS.api import TTS
|
65 |
+
|
66 |
+
tts = TTS(model_path="D:/CodingGit_StorageHDD/Ollama_Custom_Mods/ollama_agent_roll_cage/AgentFiles/Ignored_TTS/XTTS-v2_C3PO/",
|
67 |
+
config_path="D:/CodingGit_StorageHDD/Ollama_Custom_Mods/ollama_agent_roll_cage/AgentFiles/Ignored_TTS/XTTS-v2_C3PO/config.json", progress_bar=False, gpu=True).to(self.device)
|
68 |
|
69 |
# generate speech by cloning a voice using default settings
|
70 |
tts.tts_to_file(text="It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
|