We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 520b5ed commit 85b8498Copy full SHA for 85b8498
1 file changed
src/pyannoteai/sdk/client.py
@@ -423,9 +423,11 @@ def diarize(
423
"turnLevelConfidence": turn_level_confidence,
424
"exclusive": exclusive,
425
"transcription": transcription,
426
- "transcriptionConfig": transcription_config or dict(),
427
}
428
-
+
+ if transcription_config is not None:
429
+ json["transcriptionConfig"] = transcription_config
430
431
# add extra arguments to the request body
432
json.update(kwargs)
433
0 commit comments