myshell-ai / OpenVoice

Instant voice cloning by MyShell.
https://research.myshell.ai/open-voice
MIT License
27.3k stars 2.65k forks source link

Full offline multilingual TTS #161

Open ntanhfai opened 3 months ago

ntanhfai commented 3 months ago

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

ravigithubshankar commented 3 months ago

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 sourcese, = 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?