Spaces:
Runtime error
Runtime error
added DDIM model
Browse files
notebooks/test_model.ipynb
CHANGED
@@ -74,7 +74,9 @@
|
|
74 |
"\n",
|
75 |
"#@markdown teticio/audio-diffusion-instrumental-hiphop-256 - trained on instrumental hiphop\n",
|
76 |
"\n",
|
77 |
-
"
|
|
|
|
|
78 |
]
|
79 |
},
|
80 |
{
|
@@ -297,7 +299,7 @@
|
|
297 |
" audio2) = audio_diffusion.generate_spectrogram_and_audio_from_audio(\n",
|
298 |
" raw_audio=mel.get_audio_slice(slice),\n",
|
299 |
" mask_start_secs=1,\n",
|
300 |
-
" mask_end_secs=1)\n",
|
301 |
"display(Audio(audio, rate=sample_rate))\n",
|
302 |
"display(Audio(audio2, rate=sample_rate))"
|
303 |
]
|
|
|
74 |
"\n",
|
75 |
"#@markdown teticio/audio-diffusion-instrumental-hiphop-256 - trained on instrumental hiphop\n",
|
76 |
"\n",
|
77 |
+
"#@markdown teticio/audio-diffusion-ddim-256 - DDIM model trained on my Spotify \"liked\" playlist\n",
|
78 |
+
"\n",
|
79 |
+
"model_id = \"teticio/audio-diffusion-256\" #@param [\"teticio/audio-diffusion-256\", \"teticio/audio-diffusion-breaks-256\", \"audio-diffusion-instrumenal-hiphop-256\", \"teticio/audio-diffusion-ddim-256\"]"
|
80 |
]
|
81 |
},
|
82 |
{
|
|
|
299 |
" audio2) = audio_diffusion.generate_spectrogram_and_audio_from_audio(\n",
|
300 |
" raw_audio=mel.get_audio_slice(slice),\n",
|
301 |
" mask_start_secs=1,\n",
|
302 |
+
" mask_end_secs=1, step_generator=torch.Generator())\n",
|
303 |
"display(Audio(audio, rate=sample_rate))\n",
|
304 |
"display(Audio(audio2, rate=sample_rate))"
|
305 |
]
|