small fixes

This commit is contained in:
mrq 2023-02-17 20:18:57 +00:00
parent 67208be022
commit a245dc43c0
5 changed files with 56 additions and 4 deletions

View File

@ -42,9 +42,20 @@
"%cd ai-voice-cloning\n",
"!python -m pip install --upgrade pip\n",
"!pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116\n",
"!python -m pip install -r ./requirements.txt"
"!python -m pip install -r ./requirements.txt\n",
"!git clone https://git.ecker.tech/mrq/DL-Art-School dlas\n",
"!python -m pip install -r ./dlas/requirements.txt"
]
},
{
"cell_type":"markdown",
"source":[
"# Restart Runtime Before Proceeding"
],
"metadata":{
"id":"TXFyLVLA48S5"
}
},
{
"cell_type":"code",
"source":[
@ -59,6 +70,20 @@
]
},
{
"cell_type":"code",
"source":[
"from google.colab import drive\n",
"drive.mount('/content/drive')"
],
"metadata":{
"id":"SGt9gyvubveT"
},
"execution_count":null,
"outputs":[
]
},
{
"cell_type":"markdown",
"source":[
@ -92,7 +117,7 @@
"\n",
"webui = setup_gradio()\n",
"tts = setup_tortoise()\n",
"webui.launch(share=True, prevent_thread_lock=True, height=1000)\n",
"webui.launch(share=True, prevent_thread_lock=True, debug=True, height=1000)\n",
"webui.block_thread()"
],
"metadata":{
@ -103,6 +128,29 @@
]
},
{
"cell_type":"markdown",
"source":[
"# Fallback Training"
],
"metadata":{
"id":"ggLY9A9KA21D"
}
},
{
"cell_type":"code",
"source":[
"%cd /content/ai-voice-cloning\n",
"!python ./src/train.py -opt ./training/finetune.yml"
],
"metadata":{
"id":"-KayB8klA5tY"
},
"execution_count":null,
"outputs":[
]
},
{
"cell_type":"markdown",
"source":[

View File

@ -1 +1,2 @@
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
python -m pip install -r ./dlas/requirements.txt

View File

@ -1 +1,2 @@
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
!python -m pip install -r .\dlas\requirements.txt

View File

@ -3,5 +3,6 @@ python -m venv venv
call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install -r ./requirements.txt
python -m pip install -r ./dlas/requirements.txt
deactivate
pause

View File

@ -3,4 +3,5 @@ python -m venv venv
source ./venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r ./requirements.txt
python -m pip install -r ./dlas/requirements.txt
deactivate