jasonppy / VoiceCraft

Zero-Shot Speech Editing and Text-to-Speech in the Wild
Other
7.65k stars 749 forks source link

voicecraft gradio colab not working #100

Open tusharraskar opened 7 months ago

tusharraskar commented 7 months ago
assert _checkpoint_path is not None, f"Could not resolve compression model checkpoint path: {checkpoint_path}"

AssertionError: Could not resolve compression model checkpoint path: /content/VoiceCraft/pretrained_models/encodec_4cb2048_giga.th

Sewlell commented 7 months ago

Use my fork here while jasonppy is not awake and fix it yet.

https://colab.research.google.com/github/Sewlell/VoiceCraft-gradio-colab/blob/master/voicecraft_gradio_colab.ipynb

yoesak commented 7 months ago

since there is a bug in gradio_app.py (I already made PR), meanwhile you can manually move the encodec_4cb2048_giga.th file to ./pretrained_models (in your case /content/VoiceCraft/pretrained_models/)