11{
2- "cells" : [
3- {
4- "cell_type" : " code" ,
5- "execution_count" : null ,
6- "metadata" : {},
7- "outputs" : [],
8- "source" : [
9- " #@title Check GPU\n " ,
10- " !nvidia-smi"
11- ]
2+ "cells" : [
3+ {
4+ "cell_type" : " markdown" ,
5+ "metadata" : {
6+ "id" : " view-in-github" ,
7+ "colab_type" : " text"
8+ },
9+ "source" : [
10+ " <a href=\" https://colab.research.google.com/github/ArkanDash/Advanced-RVC-Inference/blob/master/Advanced-RVC.ipynb\" target=\" _parent\" ><img src=\" https://colab.research.google.com/assets/colab-badge.svg\" alt=\" Open In Colab\" /></a>"
11+ ]
12+ },
13+ {
14+ "cell_type" : " markdown" ,
15+ "source" : [
16+ " # Advanced RVC Inference:\n " ,
17+ " \n " ,
18+ " <big> for quicker and effortless model downloads"
19+ ],
20+ "metadata" : {
21+ "id" : " FZUxBujkr91c"
22+ }
23+ },
24+ {
25+ "cell_type" : " code" ,
26+ "execution_count" : null ,
27+ "metadata" : {
28+ "cellView" : " form" ,
29+ "id" : " fl7Y_WjdrEO2"
30+ },
31+ "outputs" : [],
32+ "source" : [
33+ " #@title Check GPU\n " ,
34+ " !nvidia-smi"
35+ ]
36+ },
37+ {
38+ "cell_type" : " code" ,
39+ "execution_count" : null ,
40+ "metadata" : {
41+ "cellView" : " form" ,
42+ "id" : " sfqNqmS-rEPK"
43+ },
44+ "outputs" : [],
45+ "source" : [
46+ " #@title Install Dependencies\n " ,
47+ " from IPython.display import clear_output\n " ,
48+ " from ipywidgets import Button\n " ,
49+ " \n " ,
50+ " \n " ,
51+ " \n " ,
52+ " !apt-get update\n " ,
53+ " !apt-get install -qq -y aria2\n " ,
54+ " clear_output()\n " ,
55+ " \n " ,
56+ " \n " ,
57+ " # ===== Downgrade Python to 3.10 ===== #\n " ,
58+ " !sudo apt-get update\n " ,
59+ " !sudo apt-get install python3.10\n " ,
60+ " !sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1\n " ,
61+ " !sudo update-alternatives --set python3 /usr/bin/python3.10\n " ,
62+ " !curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n " ,
63+ " !python3.10 get-pip.py\n " ,
64+ " !python3.10 -m pip install --upgrade pip==24.0\n " ,
65+ " clear_output()\n " ,
66+ " \n " ,
67+ " # ===== Clone Repository ===== #\n " ,
68+ " \n " ,
69+ " !git clone -b master https://github.com/ArkanDash/Advanced-RVC-Inference\n " ,
70+ " \n " ,
71+ " %cd /content/Advanced-RVC-Inference\n " ,
72+ " \n " ,
73+ " # ===== Install requirements ===== #\n " ,
74+ " \n " ,
75+ " !pip install -r ./requirements.txt"
76+ ]
77+ },
78+ {
79+ "cell_type" : " code" ,
80+ "execution_count" : null ,
81+ "metadata" : {
82+ "cellView" : " form" ,
83+ "id" : " 95tEKjsUrEPQ"
84+ },
85+ "outputs" : [],
86+ "source" : [
87+ " #@title Download Hubert & base Model\n " ,
88+ " \n " ,
89+ " \n " ,
90+ " \n " ,
91+ " \n " ,
92+ " !python ./models.py"
93+ ]
94+ },
95+ {
96+ "cell_type" : " code" ,
97+ "execution_count" : null ,
98+ "metadata" : {
99+ "cellView" : " form" ,
100+ "id" : " zG9oR-iDrEPX"
101+ },
102+ "outputs" : [],
103+ "source" : [
104+ " #@title Run WebUI\n " ,
105+ " \n " ,
106+ " \n " ,
107+ " !python infer.py --colab"
108+ ]
109+ }
110+ ],
111+ "metadata" : {
112+ "language_info" : {
113+ "name" : " python"
114+ },
115+ "orig_nbformat" : 4 ,
116+ "colab" : {
117+ "provenance" : [],
118+ "include_colab_link" : true
119+ }
12120 },
13- {
14- "cell_type" : " code" ,
15- "execution_count" : null ,
16- "metadata" : {},
17- "outputs" : [],
18- "source" : [
19- " #@title Install Dependencies\n " ,
20- " !apt-get update\n " ,
21- " !apt-get install -qq -y aria2\n " ,
22- " !git clone -b master https://github.com/ArkanDash/Advanced-RVC-Inference\n " ,
23- " !pip install -r /content/Advanced-RVC-Inference/requirements.txt"
24- ]
25- },
26- {
27- "cell_type" : " code" ,
28- "execution_count" : null ,
29- "metadata" : {},
30- "outputs" : [],
31- "source" : [
32- " #@title Download Hubert & RMVPE Model\n " ,
33- " !aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt -d /content/Advanced-RVC-Inference -o hubert_base.pt\n " ,
34- " !aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.pt -d /content/Advanced-RVC-Inference -o rmvpe.pt"
35- ]
36- },
37- {
38- "cell_type" : " code" ,
39- "execution_count" : null ,
40- "metadata" : {},
41- "outputs" : [],
42- "source" : [
43- " #@title Run\n " ,
44- " %cd /content/Advanced-RVC-Inference\n " ,
45- " !python infer.py --colab"
46- ]
47- }
48- ],
49- "metadata" : {
50- "language_info" : {
51- "name" : " python"
52- },
53- "orig_nbformat" : 4
54- },
55- "nbformat" : 4 ,
56- "nbformat_minor" : 2
57- }
121+ "nbformat" : 4 ,
122+ "nbformat_minor" : 0
123+ }
0 commit comments