Spaces:
Runtime error
Runtime error
Commit ·
79a07ad
1
Parent(s): b0e3b7f
video id change
Browse files- public/index.php +1 -1
public/index.php
CHANGED
|
@@ -63,7 +63,7 @@ if (!file_exists($audio_file)) {
|
|
| 63 |
$log->info('Generating audio...');
|
| 64 |
$audio_data = [
|
| 65 |
'text' => $script,
|
| 66 |
-
'voiceId' => '
|
| 67 |
];
|
| 68 |
$audio_response = $elevenLabsApi->textToSpeechWithVoiceId($audio_data['voiceId'], $audio_data);
|
| 69 |
file_put_contents($audio_file, $audio_response->getBody());
|
|
|
|
| 63 |
$log->info('Generating audio...');
|
| 64 |
$audio_data = [
|
| 65 |
'text' => $script,
|
| 66 |
+
'voiceId' => '21m00Tcm4TlvDq8ikWAM'
|
| 67 |
];
|
| 68 |
$audio_response = $elevenLabsApi->textToSpeechWithVoiceId($audio_data['voiceId'], $audio_data);
|
| 69 |
file_put_contents($audio_file, $audio_response->getBody());
|