bugfix
This commit is contained in:
parent
288900d128
commit
8beb2dca7a
@ -15,7 +15,9 @@ __version__ = '0.0.1'
|
||||
class TTS:
|
||||
def __init__(self):
|
||||
self.engine = ChatTTS.Chat()
|
||||
self.engine.load(compile=True)
|
||||
self.engine.load(source='custom',
|
||||
custom_path=get_definition(custom_path='chattts_model_path',
|
||||
compile=True)
|
||||
|
||||
def _generate(request, **kw):
|
||||
params_kw = kw.get('params_kw')
|
||||
|
@ -5,7 +5,7 @@
|
||||
"logfile":"$[workdir]$/logs/tts.log"
|
||||
},
|
||||
"definitions":{
|
||||
"whisper_model":"/d/ymq/osc/models/whisper/large-v3.pt"
|
||||
"chattts_model_path":"/d/ymq/osc/models/ChaTTTS"
|
||||
},
|
||||
"filesroot":"$[workdir]$/files",
|
||||
"website":{
|
||||
|
Loading…
Reference in New Issue
Block a user