Spaces:
Running
Running
sample debug
Browse files
app.py
CHANGED
|
@@ -22,8 +22,10 @@ def gradio_TSE(input_audio_path, enroll_audio_path, audio_type):
|
|
| 22 |
print(f"User chose audio_type: {audio_type}")
|
| 23 |
|
| 24 |
if audio_type == "clean":
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
| 27 |
print(f"Converted clean -> mix: {mix_path}")
|
| 28 |
else:
|
| 29 |
|
|
|
|
| 22 |
print(f"User chose audio_type: {audio_type}")
|
| 23 |
|
| 24 |
if audio_type == "clean":
|
| 25 |
+
|
| 26 |
+
input_deal_wav = fix_audio_format(input_audio_path)
|
| 27 |
+
input_deal_wav_path = "deal_input.wav"
|
| 28 |
+
mix_path = datamix.mix_with_noise_folder(input_deal_wav_path,noise_folder_test)
|
| 29 |
print(f"Converted clean -> mix: {mix_path}")
|
| 30 |
else:
|
| 31 |
|