j commited on
Commit
0c92f84
1 Parent(s): caf6171

fix AudioSignal \audio concatenation (probably still wrong)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def process_fn(input_audio_path, seed, guidance_scale, num_inference_steps):
80
  audio_concat = audio
81
  #audio_concat = audio[0]
82
  else:
83
- audio_concat = scipy.concatenate((audio_concat, audio))
84
 
85
  scipy.io.wavfile.write(outfile, rate=48000, data=audio_concat)
86
  return outfile
 
80
  audio_concat = audio
81
  #audio_concat = audio[0]
82
  else:
83
+ audio_concat += audio
84
 
85
  scipy.io.wavfile.write(outfile, rate=48000, data=audio_concat)
86
  return outfile