ShadowTEM commited on
Commit
da4f416
·
verified ·
1 Parent(s): 064af91

Update app/tts.py

Browse files
Files changed (1) hide show
  1. 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/modelsvoices-v1.0 (1).bin"):
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