Spaces:
Runtime error
Runtime error
cosmetic
Browse files- notebooks/test_model.ipynb +23 -19
notebooks/test_model.ipynb
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
},
|
11 |
{
|
12 |
"cell_type": "code",
|
13 |
-
"execution_count":
|
14 |
"id": "6c7800a6",
|
15 |
"metadata": {},
|
16 |
"outputs": [],
|
@@ -27,7 +27,7 @@
|
|
27 |
},
|
28 |
{
|
29 |
"cell_type": "code",
|
30 |
-
"execution_count":
|
31 |
"id": "b447e2c4",
|
32 |
"metadata": {},
|
33 |
"outputs": [],
|
@@ -39,7 +39,7 @@
|
|
39 |
},
|
40 |
{
|
41 |
"cell_type": "code",
|
42 |
-
"execution_count":
|
43 |
"id": "c2fc0e7a",
|
44 |
"metadata": {},
|
45 |
"outputs": [],
|
@@ -63,7 +63,7 @@
|
|
63 |
},
|
64 |
{
|
65 |
"cell_type": "code",
|
66 |
-
"execution_count":
|
67 |
"id": "97f24046",
|
68 |
"metadata": {},
|
69 |
"outputs": [],
|
@@ -79,7 +79,7 @@
|
|
79 |
},
|
80 |
{
|
81 |
"cell_type": "code",
|
82 |
-
"execution_count":
|
83 |
"id": "a3d45c36",
|
84 |
"metadata": {},
|
85 |
"outputs": [],
|
@@ -187,7 +187,7 @@
|
|
187 |
},
|
188 |
{
|
189 |
"cell_type": "code",
|
190 |
-
"execution_count":
|
191 |
"id": "fc620a80",
|
192 |
"metadata": {},
|
193 |
"outputs": [],
|
@@ -197,18 +197,7 @@
|
|
197 |
" from google.colab import files\n",
|
198 |
" audio_file = list(files.upload().keys())[0]\n",
|
199 |
"except:\n",
|
200 |
-
" audio_file =
|
201 |
-
]
|
202 |
-
},
|
203 |
-
{
|
204 |
-
"cell_type": "code",
|
205 |
-
"execution_count": null,
|
206 |
-
"id": "ec894340",
|
207 |
-
"metadata": {},
|
208 |
-
"outputs": [],
|
209 |
-
"source": [
|
210 |
-
"if audio_file is None:\n",
|
211 |
-
" audio_file = \"/home/teticio/Music/Music/Cesar Mariano And CIA/Gilles Peterson In Brazil_ Da Hora/2-07 Futebol De Bar (Heavy Üsker Mix.mp3\""
|
212 |
]
|
213 |
},
|
214 |
{
|
@@ -218,7 +207,22 @@
|
|
218 |
"metadata": {
|
219 |
"scrolled": true
|
220 |
},
|
221 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
"source": [
|
223 |
"start_steps = 500 #@param {type:\"slider\", min:0, max:1000, step:10}\n",
|
224 |
"audio_diffusion.mel.load_audio(audio_file)\n",
|
|
|
10 |
},
|
11 |
{
|
12 |
"cell_type": "code",
|
13 |
+
"execution_count": 25,
|
14 |
"id": "6c7800a6",
|
15 |
"metadata": {},
|
16 |
"outputs": [],
|
|
|
27 |
},
|
28 |
{
|
29 |
"cell_type": "code",
|
30 |
+
"execution_count": 26,
|
31 |
"id": "b447e2c4",
|
32 |
"metadata": {},
|
33 |
"outputs": [],
|
|
|
39 |
},
|
40 |
{
|
41 |
"cell_type": "code",
|
42 |
+
"execution_count": 41,
|
43 |
"id": "c2fc0e7a",
|
44 |
"metadata": {},
|
45 |
"outputs": [],
|
|
|
63 |
},
|
64 |
{
|
65 |
"cell_type": "code",
|
66 |
+
"execution_count": 28,
|
67 |
"id": "97f24046",
|
68 |
"metadata": {},
|
69 |
"outputs": [],
|
|
|
79 |
},
|
80 |
{
|
81 |
"cell_type": "code",
|
82 |
+
"execution_count": 29,
|
83 |
"id": "a3d45c36",
|
84 |
"metadata": {},
|
85 |
"outputs": [],
|
|
|
187 |
},
|
188 |
{
|
189 |
"cell_type": "code",
|
190 |
+
"execution_count": 50,
|
191 |
"id": "fc620a80",
|
192 |
"metadata": {},
|
193 |
"outputs": [],
|
|
|
197 |
" from google.colab import files\n",
|
198 |
" audio_file = list(files.upload().keys())[0]\n",
|
199 |
"except:\n",
|
200 |
+
" audio_file = \"/home/teticio/Music/Music/Sven Väth/In the Mix_ The Sound of the Sixteenth S/14 Eclipse.m4a\""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
]
|
202 |
},
|
203 |
{
|
|
|
207 |
"metadata": {
|
208 |
"scrolled": true
|
209 |
},
|
210 |
+
"outputs": [
|
211 |
+
{
|
212 |
+
"data": {
|
213 |
+
"application/vnd.jupyter.widget-view+json": {
|
214 |
+
"model_id": "6e741e6bd196458fa38f86197bd16378",
|
215 |
+
"version_major": 2,
|
216 |
+
"version_minor": 0
|
217 |
+
},
|
218 |
+
"text/plain": [
|
219 |
+
" 0%| | 0/500 [00:00<?, ?it/s]"
|
220 |
+
]
|
221 |
+
},
|
222 |
+
"metadata": {},
|
223 |
+
"output_type": "display_data"
|
224 |
+
}
|
225 |
+
],
|
226 |
"source": [
|
227 |
"start_steps = 500 #@param {type:\"slider\", min:0, max:1000, step:10}\n",
|
228 |
"audio_diffusion.mel.load_audio(audio_file)\n",
|