HKoon / ChatTTS-OpenVoice

Fuse ChatTTS with OpenVoice, upload a 10-second audio clip, and clone your personalized ChatTTS voice.
https://huggingface.co/spaces/Hilley/ChatTTS-OpenVoice
Other
363 stars 46 forks source link

How to use it locally? Huggingface not working too #2

Open jessicaliew1024 opened 4 months ago

jessicaliew1024 commented 4 months ago

I have cloned it locally but it is also not working. Please write a guide on how to install locally. Thanks

pcyan3166 commented 4 months ago

clone source code from here:https://huggingface.co/spaces/Hilley/ChatTTS-OpenVoice/tree/main

HKoon commented 4 months ago

You can clone or download the source code from here first.

  1. Install the necessary libraries:
    • In the terminal, run pip install -r requirements.txt
  2. Download the model Checkpoint:
    • ChatTTS should automatically download from hugging face.
    • OpenVoice requires manual download of the corresponding model Checkpoint from hugging face (I am currently using version V1) https://huggingface.co/myshell-ai/OpenVoice/tree/main. Simply place the Checkpoint folder into the same-named folder within the OpenVoice directory of this project.
  3. Run app.py