projects/deliberation_at_scale/packages/frontend/hooks/useWhisper/configs.ts (6 lines of code) (raw):
export const defaultStopTimeout = 5_000;
export const ffmpegCoreUrl =
'https://unpkg.com/@ffmpeg/core-st@0.11.1/dist/ffmpeg-core.js';
export const silenceRemoveCommand =
'silenceremove=start_periods=1:stop_periods=-1:start_threshold=-30dB:stop_threshold=-30dB:start_silence=2:stop_silence=2';
export const whisperApiEndpoint = 'https://api.openai.com/v1/audio/';