Skip to content

Fix generated transcription from stdin - #285

Open
zkasuran wants to merge 1 commit into
AssemblyAI:mainfrom
zkasuran:fix/transcribe-stdin-show-code
Open

zkasuran wants to merge 1 commit into
AssemblyAI:mainfrom
zkasuran:fix/transcribe-stdin-show-code

Conversation

@zkasuran

Copy link
Copy Markdown

Fixes #284

Generate a binary stdin reader for assembly transcribe - --show-code. The generated script stages the WAV bytes in a temporary file just like the CLI and reports empty input before upload.

Both offline regressions fail on main and pass with the patch. An SDK replay also confirmed that the CLI and generated script upload the same WAV bytes and return the same transcript. The Linux scripts/check.sh gate passed with 3,776 tests, 100% patch coverage and no surviving mutants. Swift and Homebrew checks skipped on this Linux host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transcribe --show-code treats piped audio as a file named -

1 participant