Dear,
I am using Speech-to-text API to transcribe medical conversation (enhanced model) . I know the conversation is between the doctor and the patient. I am also using the following configuration to request the transcription:
client = speech.SpeechClient()
audio = speech.RecognitionAudio(uri=gcs_uri)
diarization_config = speech.SpeakerDiarizationConfig(
enable_speaker_diarization=True,
#min_speaker_count=2,
max_speaker_count=2,
)
config = speech.RecognitionConfig(
encoding=speech.RecognitionConfig.AudioEncoding.FLAC,
sample_rate_hertz=32000,
language_code="en-US",
use_enhanced=True,
diarization_config=diarization_config,
# A model must be specified to use enhanced model.
model="medical_conversation",
)
Please, do you know how to solve this?
In advance, thank you .
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |