Route Whisper to chloe localhost (127.0.0.1:20019)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 18:56:02 +02:00
parent 7bccd8c010
commit a61329eb85
+1 -1
View File
@@ -143,7 +143,7 @@ function transcribeViaWhisperGpu(array $file, string $language, bool $diarize, i
string $model, int $beamSize, string $task, string $model, int $beamSize, string $task,
bool $vadFilter, string $initPrompt): array bool $vadFilter, string $initPrompt): array
{ {
$whisperBase = 'http://194.93.49.14:20019'; $whisperBase = 'http://127.0.0.1:20019';
$endpoint = $diarize ? $whisperBase . '/transcribe/diarize' : $whisperBase . '/transcribe'; $endpoint = $diarize ? $whisperBase . '/transcribe/diarize' : $whisperBase . '/transcribe';
$boundary = '----DBN' . bin2hex(random_bytes(8)); $boundary = '----DBN' . bin2hex(random_bytes(8));