mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-08 20:10:44 +08:00
chore(structure): rename requirements files (#14)
* chore(structure): rename requirements files all of the requirements under `requirements/` have requirements-* in their name, which just looks dirty since all of the requirements are already in the `requirements` dir. therefore to have cleaner project, it's better to rename all the req files to just contain info on what each of them does * fix(unitest): update requirements file used in the unitest workflow
This commit is contained in:
2
.github/workflows/unitest.yml
vendored
2
.github/workflows/unitest.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
python -m pip install --upgrade setuptools
|
python -m pip install --upgrade setuptools
|
||||||
python -m pip install --upgrade wheel
|
python -m pip install --upgrade wheel
|
||||||
pip install torch torchvision torchaudio
|
pip install torch torchvision torchaudio
|
||||||
pip install -r requirements/requirements.txt
|
pip install -r requirements/main.txt
|
||||||
rvcmd -notrs -w 1 -notui assets/all
|
rvcmd -notrs -w 1 -notui assets/all
|
||||||
- name: Test step 1 & 2
|
- name: Test step 1 & 2
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN python3 -m pip install --no-cache-dir -r requirements/requirements.txt
|
RUN python3 -m pip install --no-cache-dir -r requirements/main.txt
|
||||||
|
|
||||||
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D40k.pth -d assets/pretrained_v2/ -o D40k.pth
|
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D40k.pth -d assets/pretrained_v2/ -o D40k.pth
|
||||||
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G40k.pth -d assets/pretrained_v2/ -o G40k.pth
|
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G40k.pth -d assets/pretrained_v2/ -o G40k.pth
|
||||||
|
|||||||
2
run.sh
2
run.sh
@@ -11,7 +11,7 @@ if [ -d ".venv" ]; then
|
|||||||
. .venv/bin/activate
|
. .venv/bin/activate
|
||||||
else
|
else
|
||||||
echo "Create venv..."
|
echo "Create venv..."
|
||||||
requirements_file="requirements/requirements.txt"
|
requirements_file="requirements/main.txt"
|
||||||
|
|
||||||
# Check if Python 3.8 is installed
|
# Check if Python 3.8 is installed
|
||||||
if ! (command -v python3.8 >/dev/null 2>&1 || pyenv versions --bare | grep -q "3.8"); then
|
if ! (command -v python3.8 >/dev/null 2>&1 || pyenv versions --bare | grep -q "3.8"); then
|
||||||
|
|||||||
Reference in New Issue
Block a user