We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4c49ad commit 01079d6Copy full SHA for 01079d6
src/openai/cli/_api/audio.py
@@ -66,7 +66,7 @@ def transcribe(args: CLITranscribeArgs) -> None:
66
buffer_reader = BufferReader(file_reader.read(), desc="Upload progress")
67
68
model = get_client().audio.transcriptions.create(
69
- file=buffer_reader,
+ file=(args.file, buffer_reader),
70
model=args.model,
71
language=args.language or NOT_GIVEN,
72
temperature=args.temperature or NOT_GIVEN,
@@ -83,7 +83,7 @@ def translate(args: CLITranslationArgs) -> None:
83
84
85
model = get_client().audio.translations.create(
86
87
88
89
prompt=args.prompt or NOT_GIVEN,
0 commit comments