Text-to-Speech
Safetensors
inf5
custom_code

how to run this code?

#20
by ERDllm - opened

i am getting errors only. when i am using safetensor model file i am getting hyper parameter error, if i am running your code without doing any changes getting
NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.

your sample code not running as it is, any changes needs to do ?

pip install transformers==4.49.0 pydub soundfile safetensors huggingface_hub , this will fix you issue

.cache\huggingface\modules\transformers_modules\ai4bharat\IndicF5\b82d286220e3070e171f4ef4b4bd047b9a447c9a
ERROR: Failed to load model. Please check internet connection, Hugging Face login, and model access. Error: load_model() missing 1 required positional argument: 'ckpt_path'
after installed the above packages, i am getting the above error in the model.py file

now i can able to run and get the output but the audio is some noise only.

Sign up or log in to comment