Spaces:
Runtime error
Runtime error
Update transcription_diarization.py
Browse files
transcription_diarization.py
CHANGED
@@ -25,7 +25,7 @@ def transcribe_video(file_uri, job_name):
|
|
25 |
TranscriptionJobName=job_name,
|
26 |
Media={'MediaFileUri': file_uri},
|
27 |
MediaFormat='mp4',
|
28 |
-
|
29 |
Settings={
|
30 |
'ShowSpeakerLabels': True,
|
31 |
'MaxSpeakerLabels': 4
|
|
|
25 |
TranscriptionJobName=job_name,
|
26 |
Media={'MediaFileUri': file_uri},
|
27 |
MediaFormat='mp4',
|
28 |
+
IdentifyLanguage=True,
|
29 |
Settings={
|
30 |
'ShowSpeakerLabels': True,
|
31 |
'MaxSpeakerLabels': 4
|