Spaces:
Running
Running
Update main.ts
Browse files
main.ts
CHANGED
@@ -21,9 +21,6 @@ async function synthesizeSpeech(model: string, voice: string, text: string) {
|
|
21 |
let pitch = 0;
|
22 |
|
23 |
if (!model.includes("Neural")) {
|
24 |
-
rate = 0.1;
|
25 |
-
pitch = 0.2;
|
26 |
-
|
27 |
switch (model) {
|
28 |
case "ava":
|
29 |
voiceName = "en-US-AvaMultilingualNeural";
|
|
|
21 |
let pitch = 0;
|
22 |
|
23 |
if (!model.includes("Neural")) {
|
|
|
|
|
|
|
24 |
switch (model) {
|
25 |
case "ava":
|
26 |
voiceName = "en-US-AvaMultilingualNeural";
|