Spaces:
Sleeping
Sleeping
Gopikanth123
commited on
Update templates/index.html
Browse files- templates/index.html +2 -2
templates/index.html
CHANGED
@@ -589,11 +589,11 @@
|
|
589 |
voice = 'Sanskrit Female'; // Use ResponsiveVoice voice name
|
590 |
break;
|
591 |
default:
|
592 |
-
voice = '
|
593 |
break;
|
594 |
}
|
595 |
|
596 |
-
responsiveVoice.speak(text, voice); // Call ResponsiveVoice speak function with the determined voice
|
597 |
}
|
598 |
|
599 |
// // Test voices and log them
|
|
|
589 |
voice = 'Sanskrit Female'; // Use ResponsiveVoice voice name
|
590 |
break;
|
591 |
default:
|
592 |
+
voice = 'UK English Male'; // Use ResponsiveVoice default voice name
|
593 |
break;
|
594 |
}
|
595 |
|
596 |
+
responsiveVoice.speak(text, voice, {pitch: 2}); // Call ResponsiveVoice speak function with the determined voice
|
597 |
}
|
598 |
|
599 |
// // Test voices and log them
|