Update app/tts.py
Browse files- app/tts.py +1 -1
app/tts.py
CHANGED
|
@@ -10,7 +10,7 @@ from kokoro_onnx import Kokoro, SAMPLE_RATE
|
|
| 10 |
|
| 11 |
class tts():
|
| 12 |
# Update default voice_path to the JSON file as recommended.
|
| 13 |
-
def __init__(self, tts_model_path="/app/models/kokoro-v1.0.fp16-gpu.onnx", voice_path="/app/
|
| 14 |
self.tts_model_path = tts_model_path
|
| 15 |
self.voice_path = voice_path
|
| 16 |
self.tts = None
|
|
|
|
| 10 |
|
| 11 |
class tts():
|
| 12 |
# Update default voice_path to the JSON file as recommended.
|
| 13 |
+
def __init__(self, tts_model_path="/app/models/kokoro-v1.0.fp16-gpu.onnx", voice_path="/app/models/voices-v1.0 (1).bin"):
|
| 14 |
self.tts_model_path = tts_model_path
|
| 15 |
self.voice_path = voice_path
|
| 16 |
self.tts = None
|