Spaces:
Runtime error
Runtime error
add abilithy to generate audio from another audio
Browse files
notebooks/test_model.ipynb
CHANGED
@@ -128,7 +128,7 @@
|
|
128 |
"id": "80e5b5fa",
|
129 |
"metadata": {},
|
130 |
"source": [
|
131 |
-
"Try playing around with `start_steps`. Values closer to zero will produce new samples, while values closer to `steps` will produce samples more faithful to the original. You can also try generatring variations of a `slice` of an `audio_file` instead of passing in a `raw_audio
|
132 |
]
|
133 |
},
|
134 |
{
|
@@ -162,7 +162,6 @@
|
|
162 |
" sample_rate, audio2\n",
|
163 |
" ) = audio_diffusion.generate_spectrogram_and_audio_from_audio(\n",
|
164 |
" raw_audio=audio,\n",
|
165 |
-
" slice=0,\n",
|
166 |
" start_step=start_steps,\n",
|
167 |
" steps=1000)\n",
|
168 |
" display(image2)\n",
|
|
|
128 |
"id": "80e5b5fa",
|
129 |
"metadata": {},
|
130 |
"source": [
|
131 |
+
"Try playing around with `start_steps`. Values closer to zero will produce new samples, while values closer to `steps` will produce samples more faithful to the original. You can also try generatring variations of a `slice` of an `audio_file` instead of passing in a `raw_audio`, which results in a kind of style transfer."
|
132 |
]
|
133 |
},
|
134 |
{
|
|
|
162 |
" sample_rate, audio2\n",
|
163 |
" ) = audio_diffusion.generate_spectrogram_and_audio_from_audio(\n",
|
164 |
" raw_audio=audio,\n",
|
|
|
165 |
" start_step=start_steps,\n",
|
166 |
" steps=1000)\n",
|
167 |
" display(image2)\n",
|