Skip to content

Commit

Permalink
More options to Colab
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiromiyaG committed Sep 6, 2024
1 parent 4e66b97 commit 2169a41
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions assets/RVCAICoverMakerWebUI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
"print(\"Installing requirements\")\n",
"!git clone https://github.com/ShiromiyaG/RVC-AI-Cover-Maker-WebUI.git &> /dev/null\n",
"%cd RVC-AI-Cover-Maker-WebUI\n",
"!git clone https://github.com/ZFTurbo/Music-Source-Separation-Training.git programs/Music-Source-Separation-Training &> /dev/null\n",
"!rm \"programs/Music-Source-Separation-Training/inference.py\"\n",
"!curl -o \"programs/Music-Source-Separation-Training/inference.py\" \"https://raw.githubusercontent.com/ShiromiyaG/RVC-AI-Cover-Maker/v2/Utils/inference.py\" &> /dev/null\n",
"!pip install uv &> /dev/null\n",
"!uv venv .venv &> /dev/null\n",
"!uv pip install --no-deps -r requirements.txt &> /dev/null\n",
Expand All @@ -57,7 +54,7 @@
{
"cell_type": "code",
"source": [
"#@title ## **Start**\n",
"#@title ## **Start (With NGROK)**\n",
"from pyngrok import ngrok\n",
"import codecs\n",
"from IPython.display import clear_output\n",
Expand All @@ -76,6 +73,21 @@
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"#@title ## **Start (Without NGROK)**\n",
"import codecs\n",
"runtime=codecs.decode(\"znva.cl\", \"rot_13\")\n",
"!source .venv/bin/activate; python $runtime --share"
],
"metadata": {
"cellView": "form",
"id": "R0aXc4R1G8bV"
},
"execution_count": null,
"outputs": []
}
]
}

0 comments on commit 2169a41

Please sign in to comment.