ChatTTS-OpenVoice icon indicating copy to clipboard operation
ChatTTS-OpenVoice copied to clipboard

How to use it locally? Huggingface not working too

Open jessicaliew1024 opened this issue 1 year ago • 2 comments

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

jessicaliew1024 avatar Jun 28 '24 06:06 jessicaliew1024

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

pcyan3166 avatar Jun 30 '24 16:06 pcyan3166

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
  1. 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.
  1. Run app.py
  • You can access and use this application by visiting http://localhost:8080 in your browser.

HKoon avatar Jul 01 '24 20:07 HKoon