OpenVoice icon indicating copy to clipboard operation
OpenVoice copied to clipboard

Full offline multilingual TTS

Open ntanhfai opened this issue 1 year ago • 1 comments

Can anyone create a full and offline example of multilingual TTS and Voice Coloring as demo_part2.ipynb? (in the file demo_part2.ipynb is not a full example, it takes a lot of time to run, still cannot run because my Open API Key is not working) Thank you very much

ntanhfai avatar Mar 22 '24 11:03 ntanhfai

1 if voice.value == 'choose_manually': ----> 2 orig_voice_path = f'{output_dir}/{upload_orig_voice.value[0].name}' 3 save_audio(upload_orig_voice, orig_voice_path) 4 source_se, _ = se_extractor.get_se(orig_voice_path, tone_color_converter, target_dir=OUTPUT_DIR, vad=True)

KeyError: 0 me as getting keyerror when i was trying with custom voices by manually uploading voice files from local files .. can please help me to solve?

ravigithubshankar avatar Mar 22 '24 15:03 ravigithubshankar