tykiww commited on
Commit
70762cf
1 Parent(s): afa0cd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -23,11 +23,11 @@ def process_meeting(audio_input, num_speakers, speaker_names):
23
  # After, match the diarization with the transcription
24
  pipeline = ASRDiarizationPipeline(
25
  asr_pipeline=asr_pipeline,
26
- diarization_pipeline=diarization_pipeline,
27
- diarization_num_speakers = num_speakers)
28
 
29
  # Finally, Clean up the docs.
30
- output = pipeline(audio_input)
 
31
  print(output)
32
  return "a", None #diarization_result, label_file
33
 
 
23
  # After, match the diarization with the transcription
24
  pipeline = ASRDiarizationPipeline(
25
  asr_pipeline=asr_pipeline,
26
+ diarization_pipeline=diarization_pipeline)
 
27
 
28
  # Finally, Clean up the docs.
29
+ output = pipeline(audio_input,
30
+ diarization_num_speakers = num_speakers)
31
  print(output)
32
  return "a", None #diarization_result, label_file
33