nakas commited on
Commit
eb4dbcc
β€’
1 Parent(s): f2582cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ from audiodiffusion import AudioDiffusion
7
 
8
  def generate_spectrogram_audio_and_loop(audio_file,model_id):
9
  audio_diffusion = AudioDiffusion(model_id=model_id)
 
10
  image, (sample_rate,
11
  audio) = audio_diffusion.generate_spectrogram_and_audio_from_audio(raw_audio=audio_file, start_step=500)
12
  loop = AudioDiffusion.loop_it(audio, sample_rate)
 
7
 
8
  def generate_spectrogram_audio_and_loop(audio_file,model_id):
9
  audio_diffusion = AudioDiffusion(model_id=model_id)
10
+ print(audio_file)
11
  image, (sample_rate,
12
  audio) = audio_diffusion.generate_spectrogram_and_audio_from_audio(raw_audio=audio_file, start_step=500)
13
  loop = AudioDiffusion.loop_it(audio, sample_rate)