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:
+1
-1
@@ -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));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user