mirror of
https://github.com/JarodMica/ai-voice-cloning.git
synced 2025-06-07 06:05:52 -04:00
update files for package
This commit is contained in:
parent
73ad7c0db9
commit
0c1dd2c496
3 changed files with 22 additions and 1 deletions
13
README.md
13
README.md
|
@ -36,6 +36,19 @@ pip uninstall torch
|
|||
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
|
||||
```
|
||||
|
||||
## Updating Your Installation
|
||||
Below are how you can update the package for the latest updates
|
||||
|
||||
### Package
|
||||
|
||||
### Manual Installation
|
||||
You should be able to navigate into the folder and then pull the repo to update it.
|
||||
```
|
||||
cd ai-voice-cloning
|
||||
git pull
|
||||
```
|
||||
If there are large features added, you may need to delete the venv and the re-run the setup-cuda script to make sure there are no package issues
|
||||
|
||||
## Documentation
|
||||
|
||||
TBD
|
||||
|
|
2
models/rvc_models/.gitignore
vendored
2
models/rvc_models/.gitignore
vendored
|
@ -1,3 +1,3 @@
|
|||
#*
|
||||
*
|
||||
!.gitignore
|
||||
!.gitkeep
|
|
@ -4,6 +4,14 @@ import argparse
|
|||
import yaml
|
||||
import datetime
|
||||
|
||||
if os.path.exists("runtime"):
|
||||
# Get the directory where the script is located
|
||||
script_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
# Add this directory to sys.path
|
||||
if script_dir not in sys.path:
|
||||
sys.path.insert(0, script_dir)
|
||||
|
||||
from torch.distributed.run import main as torchrun
|
||||
|
||||
# this is effectively just copy pasted and cleaned up from the __main__ section of training.py
|
||||
|
|
Loading…
Add table
Reference in a new issue