Merge pull request #791 from pyrater/staging
Fix for dropdown list not populating
This commit is contained in:
commit
bed6b2d777
|
@ -105,6 +105,10 @@ class CoquiTtsProvider {
|
||||||
const ttsVoicesInput = document.getElementById('tts_voices');
|
const ttsVoicesInput = document.getElementById('tts_voices');
|
||||||
const ttsPreviewInput = document.getElementById('tts_preview');
|
const ttsPreviewInput = document.getElementById('tts_preview');
|
||||||
|
|
||||||
|
ttsProviderSelect.addEventListener('click', () => {
|
||||||
|
this.getModels();
|
||||||
|
});
|
||||||
|
|
||||||
// Add an event listener to the 'change' event of the tts_provider select element
|
// Add an event listener to the 'change' event of the tts_provider select element
|
||||||
ttsProviderSelect.addEventListener('change', () => {
|
ttsProviderSelect.addEventListener('change', () => {
|
||||||
// Check if the selected value is 'Coqui'
|
// Check if the selected value is 'Coqui'
|
||||||
|
|
Loading…
Reference in New Issue