We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 085907b commit b5ec3b3Copy full SHA for b5ec3b3
jigsawstack/audio.py
@@ -80,7 +80,6 @@ def speech_to_text(
80
) -> Union[SpeechToTextResponse, SpeechToTextWebhookResponse]:
81
options = options or {}
82
path = "/ai/transcribe"
83
- params = options or {}
84
if isinstance(blob, dict):
85
# URL or file_store_key based request
86
resp = Request(
@@ -95,7 +94,7 @@ def speech_to_text(
95
94
96
config=self.config,
97
path=path,
98
- params=params,
+ params=options,
99
verb="post",
100
files=files,
101
).perform_with_content()
0 commit comments