|
13 | 13 | { |
14 | 14 | "cell_type": "markdown", |
15 | 15 | "source": [ |
16 | | - "<h1><div align=\"center\"> Advanced RVC Inference\n", |
| 16 | + "<h1><div/align=\"center\"> Advanced RVC Inference\n", |
17 | 17 | "\n", |
18 | 18 | "---\n", |
19 | 19 | "\n", |
|
37 | 37 | "outputs": [], |
38 | 38 | "source": [ |
39 | 39 | "#@title ## **Install**\n", |
| 40 | + "\n", |
| 41 | + "\n", |
| 42 | + "import os\n", |
| 43 | + "import codecs\n", |
| 44 | + "from IPython.display import clear_output\n", |
| 45 | + "\n", |
| 46 | + "\n", |
40 | 47 | "!sudo apt update\n", |
41 | 48 | "!sudo apt install python3.10\n", |
42 | 49 | "!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1\n", |
43 | 50 | "!sudo update-alternatives --set python3 /usr/bin/python3.10\n", |
44 | 51 | "!curl -sS https://bootstrap.pypa.io/get-pip.py | python3\n", |
45 | 52 | "import sys\n", |
46 | 53 | "sys.path.append('/usr/local/lib/python3.10/dist-packages')\n", |
| 54 | + "clear_output()\n", |
47 | 55 | "\n", |
48 | | - "import os\n", |
49 | | - "import codecs\n", |
50 | | - "from IPython.display import clear_output\n", |
51 | 56 | "print(\"Installing requirements\")\n", |
52 | | - "repo = \"https://github.com/ArkanDash/Advanced-RVC-Inference.git\"\n", |
53 | 57 | "\n", |
| 58 | + "repo = \"https://github.com/ArkanDash/Advanced-RVC-Inference.git\"\n", |
54 | 59 | "\n", |
55 | 60 | "!git clone $repo main_program\n", |
56 | 61 | "%cd main_program\n", |
|
59 | 64 | "!pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1 --upgrade --index-url https://download.pytorch.org/whl/cu121 &> /dev/null\n", |
60 | 65 | "!pip install numpy==1.23.5\n", |
61 | 66 | "\n", |
62 | | - "!source .venv/bin/activate\n", |
63 | | - "!python programs/applio_code/rvc/lib/tools/prerequisites_download.py\n", |
64 | 67 | "clear_output()\n", |
65 | 68 | "print(\"Requirements installed!\")" |
66 | 69 | ] |
|
0 commit comments