forked from mrq/ai-voice-cloning
small fixes
This commit is contained in:
parent
67208be022
commit
a245dc43c0
|
@ -42,9 +42,20 @@
|
||||||
"%cd ai-voice-cloning\n",
|
"%cd ai-voice-cloning\n",
|
||||||
"!python -m pip install --upgrade pip\n",
|
"!python -m pip install --upgrade pip\n",
|
||||||
"!pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116\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",
|
"cell_type":"code",
|
||||||
"source":[
|
"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",
|
"cell_type":"markdown",
|
||||||
"source":[
|
"source":[
|
||||||
|
@ -92,7 +117,7 @@
|
||||||
"\n",
|
"\n",
|
||||||
"webui = setup_gradio()\n",
|
"webui = setup_gradio()\n",
|
||||||
"tts = setup_tortoise()\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()"
|
"webui.block_thread()"
|
||||||
],
|
],
|
||||||
"metadata":{
|
"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",
|
"cell_type":"markdown",
|
||||||
"source":[
|
"source":[
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
|
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
|
||||||
|
python -m pip install -r ./dlas/requirements.txt
|
|
@ -1 +1,2 @@
|
||||||
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
|
git clone https://git.ecker.tech/mrq/DL-Art-School dlas
|
||||||
|
!python -m pip install -r .\dlas\requirements.txt
|
|
@ -3,5 +3,6 @@ python -m venv venv
|
||||||
call .\venv\Scripts\activate.bat
|
call .\venv\Scripts\activate.bat
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install -r ./requirements.txt
|
python -m pip install -r ./requirements.txt
|
||||||
|
python -m pip install -r ./dlas/requirements.txt
|
||||||
deactivate
|
deactivate
|
||||||
pause
|
pause
|
|
@ -3,4 +3,5 @@ python -m venv venv
|
||||||
source ./venv/bin/activate
|
source ./venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install -r ./requirements.txt
|
python -m pip install -r ./requirements.txt
|
||||||
|
python -m pip install -r ./dlas/requirements.txt
|
||||||
deactivate
|
deactivate
|
Loading…
Reference in New Issue
Block a user