Skip to content

Commit b5ec3b3

Browse files
committed
rm unnecessary params
1 parent 085907b commit b5ec3b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jigsawstack/audio.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ def speech_to_text(
8080
) -> Union[SpeechToTextResponse, SpeechToTextWebhookResponse]:
8181
options = options or {}
8282
path = "/ai/transcribe"
83-
params = options or {}
8483
if isinstance(blob, dict):
8584
# URL or file_store_key based request
8685
resp = Request(
@@ -95,7 +94,7 @@ def speech_to_text(
9594
resp = Request(
9695
config=self.config,
9796
path=path,
98-
params=params,
97+
params=options,
9998
verb="post",
10099
files=files,
101100
).perform_with_content()

0 commit comments

Comments
 (0)