|
50 | 50 | "\n",
|
51 | 51 | "\n",
|
52 | 52 | "\n",
|
53 |
| - "\n", |
54 | 53 | "# ===== Clone Repository ===== #\n",
|
55 | 54 | "\n",
|
56 | 55 | "!git clone -b master https://github.com/ArkanDash/Advanced-RVC-Inference\n",
|
|
59 | 58 | "\n",
|
60 | 59 | "\n",
|
61 | 60 | "\n",
|
62 |
| - "# ===== Downgrade Python to 3.10 ===== #\n", |
63 |
| - "!sudo apt-get update\n", |
64 |
| - "!sudo apt-get install python3.10\n", |
65 |
| - "!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1\n", |
66 |
| - "!sudo update-alternatives --set python3 /usr/bin/python3.10\n", |
67 |
| - "!curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n", |
68 |
| - "!python3.10 get-pip.py\n", |
69 |
| - "clear_output()\n", |
70 |
| - "\n", |
71 |
| - "\n", |
72 |
| - "\n", |
73 | 61 | "# ===== Install requirements ===== #\n",
|
74 |
| - "\n", |
| 62 | + "!pip install pip==24.0\n", |
75 | 63 | "!pip install -r ./requirements.txt"
|
76 | 64 | ]
|
77 | 65 | },
|
|
120 | 108 | " print(f\"An error occurred: {e}\")\n",
|
121 | 109 | "\n",
|
122 | 110 | "# Example usage\n",
|
123 |
| - "video_url = 'YOUR_YOUTUBE_URL' #@param {type:\"string\"}\n", |
| 111 | + "video_url = 'Video_URL' #@param {type:\"string\"}\n", |
124 | 112 | " # Replace with your YouTube video URL\n",
|
125 |
| - "output_directory = '/content/yt_dlp/' #@param {type:\"string\"}\n", |
| 113 | + "output_directory = '/content/yt_dlp' #@param {type:\"string\"}\n", |
126 | 114 | " # customize your output directory\n",
|
127 | 115 | "\n",
|
128 | 116 | "# Create the output directory if it doesn't exist.\n",
|
|
0 commit comments