Spaces:
Running
Running
Upload CoverGen_Lite_Politrees.ipynb
Browse files
CoverGen_Lite_Politrees.ipynb
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"nbformat": 4,
|
3 |
+
"nbformat_minor": 0,
|
4 |
+
"metadata": {
|
5 |
+
"colab": {
|
6 |
+
"provenance": [],
|
7 |
+
"gpuType": "T4"
|
8 |
+
},
|
9 |
+
"kernelspec": {
|
10 |
+
"name": "python3",
|
11 |
+
"display_name": "Python 3"
|
12 |
+
},
|
13 |
+
"language_info": {
|
14 |
+
"name": "python"
|
15 |
+
},
|
16 |
+
"accelerator": "GPU"
|
17 |
+
},
|
18 |
+
"cells": [
|
19 |
+
{
|
20 |
+
"cell_type": "markdown",
|
21 |
+
"source": [
|
22 |
+
"---\n",
|
23 |
+
"\n",
|
24 |
+
"**<font color='#FF8C00'><center><big> _I will be glad of any cent_ </center></font>**\n",
|
25 |
+
"\n",
|
26 |
+
"[<center> ![smaller.png](https://www.donationalerts.com/img/brand/donationalerts.svg) </center>](https://www.donationalerts.com/r/politrees)\n",
|
27 |
+
"\n",
|
28 |
+
"---"
|
29 |
+
],
|
30 |
+
"metadata": {
|
31 |
+
"id": "V8_GsV8a-mw0"
|
32 |
+
}
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"cell_type": "code",
|
36 |
+
"execution_count": null,
|
37 |
+
"metadata": {
|
38 |
+
"cellView": "form",
|
39 |
+
"id": "Q-sm6uGIzuwS"
|
40 |
+
},
|
41 |
+
"outputs": [],
|
42 |
+
"source": [
|
43 |
+
"#@title <big> ⬇️ **Installation** <small><small><small> _installation 2-5 minutes_\n",
|
44 |
+
"\n",
|
45 |
+
"from IPython.display import clear_output\n",
|
46 |
+
"from ipywidgets import Button\n",
|
47 |
+
"\n",
|
48 |
+
"!git lfs install\n",
|
49 |
+
"!git clone https://huggingface.co/spaces/Politrees/CoverGen-RVC /content/CoverGen &> /dev/null\n",
|
50 |
+
"%cd /content/CoverGen\n",
|
51 |
+
"\n",
|
52 |
+
"!pip install -qq -r requirements.txt\n",
|
53 |
+
"!python src/download_models.py\n",
|
54 |
+
"\n",
|
55 |
+
"!rm -r /content/sample_data/\n",
|
56 |
+
"\n",
|
57 |
+
"clear_output()\n",
|
58 |
+
"Button(description=\"\\u2714 Done!\", button_style=\"success\")"
|
59 |
+
]
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"cell_type": "code",
|
63 |
+
"source": [
|
64 |
+
"#@title <big> ⬇️ **Interface**\n",
|
65 |
+
"\n",
|
66 |
+
"!python src/covergen.py"
|
67 |
+
],
|
68 |
+
"metadata": {
|
69 |
+
"cellView": "form",
|
70 |
+
"id": "0fhHLrDE0r99"
|
71 |
+
},
|
72 |
+
"execution_count": null,
|
73 |
+
"outputs": []
|
74 |
+
}
|
75 |
+
]
|
76 |
+
}
|