@chengsokdara/use-whisper
Version:
React Hook for OpenAI Whisper API with speech recorder and silence removal built-in.
9 lines (6 loc) • 313 B
JavaScript
;
var e=5e3,t="https://unpkg.com/@ffmpeg/core-st@0.11.1/dist/ffmpeg-core.js",o="silenceremove=start_periods=1:stop_periods=-1:start_threshold=-30dB:stop_threshold=-30dB:start_silence=2:stop_silence=2",s="https://api.openai.com/v1/audio/";
exports.a = e;
exports.b = t;
exports.c = o;
exports.d = s;