Staticaliza commited on
Commit
da0e734
·
verified ·
1 Parent(s): add1014

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -319,6 +319,8 @@ def voice_conversion(input, reference, steps, guidance, speed):
319
  if max_val > 1.0:
320
  final_audio = final_audio / max_val
321
  print("[INFO] | Final audio normalized.")
 
 
322
 
323
  # Save the audio to a temporary WAV file
324
  print("[INFO] | Saving final audio to a temporary WAV file.")
 
319
  if max_val > 1.0:
320
  final_audio = final_audio / max_val
321
  print("[INFO] | Final audio normalized.")
322
+
323
+ # Smoothen the audio to reduce distorted audio
324
 
325
  # Save the audio to a temporary WAV file
326
  print("[INFO] | Saving final audio to a temporary WAV file.")