INNER CODE UNIT · JavaScript

at

remsky/Kokoro-FastAPI · web/src/App.js:149

                const at = (index + step) % tabs.length;
                this.setVoiceMode(modes[at]);
                tabs[at].focus();
            });
        });

        this.setupTune().catch((error) => this.showStatus(error.message, 'error'));

        this.elements.removeVoiceTagsBtn.addEventListener('click', () => {
            this.textEditor.replaceText(stripVoiceTags(this.textEditor.getText()));
        });

        if (this.elements.castFileMenu) {
            this.setupCastFileMenu();
        }
        this.elements.undoInsertBtn?.addEventListener('click', () => this.undoLastInsert());

        this.setVoiceMode('voices');

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…