Spaces:
Running
Running
Update app.py
Browse files
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.")
|