Spaces:
Runtime error
Runtime error
add abilithy to generate audio from another audio
Browse files
notebooks/test_model.ipynb
CHANGED
@@ -138,10 +138,10 @@
|
|
138 |
"metadata": {},
|
139 |
"outputs": [],
|
140 |
"source": [
|
141 |
-
"seed = 16183389798189209330 #@param {type:\"
|
142 |
"image, (sample_rate,\n",
|
143 |
" audio) = audio_diffusion.generate_spectrogram_and_audio_from_audio(\n",
|
144 |
-
" generator=torch.Generator().manual_seed(seed))
|
145 |
"display(image)\n",
|
146 |
"display(Audio(audio, rate=sample_rate))"
|
147 |
]
|
|
|
138 |
"metadata": {},
|
139 |
"outputs": [],
|
140 |
"source": [
|
141 |
+
"seed = 16183389798189209330 #@param {type:\"long\"}\n",
|
142 |
"image, (sample_rate,\n",
|
143 |
" audio) = audio_diffusion.generate_spectrogram_and_audio_from_audio(\n",
|
144 |
+
" generator=torch.Generator().manual_seed(seed))\n",
|
145 |
"display(image)\n",
|
146 |
"display(Audio(audio, rate=sample_rate))"
|
147 |
]
|