Update app.py
Browse files
app.py
CHANGED
@@ -173,12 +173,7 @@ def process_audio(target_audio, mixed_audio):
|
|
173 |
# 导出最终拼接音频
|
174 |
final_output.export("final_combined_output.wav", format="wav")
|
175 |
|
176 |
-
return
|
177 |
-
'best_matching_speaker': best_match,
|
178 |
-
'overlap_duration': overlap_duration,
|
179 |
-
'segments': speaker_segments[best_match],
|
180 |
-
'final_audio': "final_combined_output.wav"
|
181 |
-
}
|
182 |
else:
|
183 |
return "没有找到匹配的说话人时间段。"
|
184 |
else:
|
|
|
173 |
# 导出最终拼接音频
|
174 |
final_output.export("final_combined_output.wav", format="wav")
|
175 |
|
176 |
+
return "final_combined_output.wav"
|
|
|
|
|
|
|
|
|
|
|
177 |
else:
|
178 |
return "没有找到匹配的说话人时间段。"
|
179 |
else:
|