KevinWang676 / Bark-Voice-Cloning

Bark Voice Cloning and Voice Cloning for Chinese Speech
MIT License
2.63k stars 373 forks source link

I'v having this issue on Ubuntu with GPU 3090 : [Errno 2] No such file or directory: '/content/Bark-Voice-Cloning/bark/assets/prompts/file.npz' #14

Open andrade0 opened 1 year ago

andrade0 commented 1 year ago

Can anyone help ?

KevinWang676 commented 1 year ago

Hi, thanks for your interest. You need to specify the path to file.npz in your computer (where you run this program). The original path /content/Bark-Voice-Cloning/bark/assets/prompts/file.npz only works in Colab since every path starts with /content/ in Colab.

andrade0 commented 1 year ago

Thanks for the fast answer!

So i replace this : with gr.Column(): initialname = "/content/Bark-Voice-Cloning/bark/assets/prompts/file" output_voice = gr.Textbox(label="Filename of trained Voice (do not change the initial name)", lines=1, placeholder=initialname, value=initialname, visible=False)

Bu this :

with gr.Column(): initialname = "/home/andrade/dev/ai/Bark-Voice-Cloning/bark/assets/prompts/file" output_voice = gr.Textbox(label="Filename of trained Voice (do not change the initial name)", lines=1, placeholder=initialname, value=initialname, visible=False)

?

andrade0 commented 1 year ago

thanks! it works ! i would have, added this detail on the read me file and the fact that a 3.10 conda env is the best for running the repo ;)