teticio commited on
Commit
44acd97
1 Parent(s): 9725e54

add abilithy to generate audio from another audio

Browse files
Files changed (1) hide show
  1. notebooks/test_model.ipynb +2 -2
notebooks/test_model.ipynb CHANGED
@@ -138,10 +138,10 @@
138
  "metadata": {},
139
  "outputs": [],
140
  "source": [
141
- "seed = 16183389798189209330 #@param {type:\"integer\"}\n",
142
  "image, (sample_rate,\n",
143
  " audio) = audio_diffusion.generate_spectrogram_and_audio_from_audio(\n",
144
- " generator=torch.Generator().manual_seed(seed)) #@param {type:\"integer\"}\n",
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
  ]