Skip to content

Commit

Permalink
Sort voices.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Mar 8, 2024
1 parent 0324cdd commit 27c557a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/Classifai/Providers/AWS/AmazonPolly.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ public function get_voices_select_options( string $engine = '' ): array {
);
}

// Sort the options.
asort( $options );

return $options;
}

Expand Down

0 comments on commit 27c557a

Please sign in to comment.