# Introduction
!!! warning We assume no responsibility for any illegal use of the codebase. Please refer to the local laws regarding DMCA (Digital Millennium Copyright Act) and other relevant laws in your area.
install_env.bat to install the environment.
USE_MIRROR item in install_env.bat.USE_MIRROR=false downloads the latest stable version of torch from the original site. USE_MIRROR=true downloads the latest version of torch from a mirror site. The default is true.INSTALL_TYPE item in install_env.bat.INSTALL_TYPE=preview downloads the preview version with the compiled environment. INSTALL_TYPE=stable downloads the stable version without the compiled environment.USE_MIRROR=preview, execute this step (optional, for activating the compiled model environment):
LLVM-17.0.6-win64.exe, double-click to install it, choose an appropriate installation location, and most importantly, check Add Path to Current User to add to the environment variables.Modify button as shown below, find the Desktop development with C++ option, and check it for download.
start.bat to enter the Fish-Speech training inference configuration WebUI page.
API_FLAGS.txt in the project root directory and modify the first three lines as follows:
--infer
# --api
# --listen ...
...
API_FLAGS.txt in the project root directory and modify the first three lines as follows:
# --infer
--api
--listen ...
...
run_cmd.bat to enter the conda/python command line environment of this project.