QLWD commited on
Commit
7c6f093
1 Parent(s): 340e149

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
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: