diff --git a/src/pipecat/services/deepgram.py b/src/pipecat/services/deepgram.py index 17d4ef933..8d3def5be 100644 --- a/src/pipecat/services/deepgram.py +++ b/src/pipecat/services/deepgram.py @@ -141,7 +141,7 @@ def __init__( # deepgram connection requires language to be a string if isinstance(merged_options.language, Language) and hasattr( - merged_options.language, "value" + merged_options.language, "value" ): merged_options.language = merged_options.language.value