j commited on
Commit
b79b863
·
1 Parent(s): 8c2366f

force output to 48k

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def process_fn(input_audio_path, seed, guidance_scale, num_inference_steps):
74
  else:
75
  audio_concat = scipy.concatenate((audio_concat, audio))
76
 
77
- scipy.io.wavfile.write(outfile, rate=sig.sample_rate, data=audio_concat)
78
  return outfile
79
 
80
  # Build the endpoint
 
74
  else:
75
  audio_concat = scipy.concatenate((audio_concat, audio))
76
 
77
+ scipy.io.wavfile.write(outfile, rate=48000, data=audio_concat)
78
  return outfile
79
 
80
  # Build the endpoint