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