Skip to content

Commit 59c2e95

Browse files
author
James Walker
committed
add optional to channel_diarization_labels
1 parent 6c77bfe commit 59c2e95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

speechmatics/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def asdict(self) -> Dict[Any, Any]:
134134
transcript_filtering_config: Optional[dict] = None
135135
"""Configuration for applying filtering to the transcription."""
136136

137-
channel_diarization_labels: List[str] = None
137+
channel_diarization_labels: Optional[List[str]] = None
138138
"""Add your own speaker or channel labels to the transcript"""
139139

140140

0 commit comments

Comments
 (0)