Update the voices array for key and value
This commit is contained in:
parent
311febaf0b
commit
027e0757d1
|
|
@ -70,12 +70,12 @@ if (!class_exists('ai_openai')) {
|
|||
|
||||
public function get_voices() : array {
|
||||
$voices = array(
|
||||
"alloy",
|
||||
"echo",
|
||||
"fable",
|
||||
"nova",
|
||||
"onyx",
|
||||
"shimmer"
|
||||
"alloy" => "alloy",
|
||||
"echo" => "echo",
|
||||
"fable" => "fable",
|
||||
"nova" => "nova",
|
||||
"onyx" => "onyx",
|
||||
"shimmer" => "shimmer"
|
||||
);
|
||||
|
||||
//return the languages array
|
||||
|
|
@ -253,4 +253,4 @@ if (!class_exists('ai_openai')) {
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue