This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Example: Dutch speech-to-text with OpenAI `gpt-transcribe`. | |
| * | |
| * export OPENAI_API_KEY=... | |
| * npx tsx transcribe-bhv.ts ./clip.wav | |
| * | |
| * Do not hardcode API keys. Restricted project keys need audio transcription | |
| * scope; `whisper-1` may be blocked even when `gpt-transcribe` works. | |
| */ | |
| import { readFile } from "node:fs/promises"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| __d(function (g, r, i, a, m, e, d) { | |
| var t = r(d[0]); | |
| Object.defineProperty(e, "__esModule", { | |
| value: !0 | |
| }), e.default = void 0; | |
| var o = r(d[1]), | |
| n = r(d[2]), | |
| l = r(d[3]), | |
| c = t(r(d[4])), | |
| s = o.NativeModules.Gyroscope, |