Closed kylereinfeld closed 1 year ago
add on the line 26 in read.py a line like
parser.add_argument('--kv-cache', type=bool, help='Whether or not to use kv_cache. Defaults to true.', default=True)
then this line should be modified to
tts = TextToSpeech(models_dir=args.model_dir, kv_cache=args.kv_cache)
and it should work, if it does feel free to do a PR for that
Ah, I haven't done any changes in any of the CLI code files apart from do_tts.py
, apologies.
I'm getting an "unrecognized arguments" error when I try to run read.py with --kv_cache.