mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-05 20:29:22 +01:00
Add initialization of audio module key in extension settings.
This commit is contained in:
parent
25daa61e83
commit
58b33240a2
@ -48,6 +48,9 @@ const defaultSettings = {
|
||||
}
|
||||
|
||||
function loadSettings() {
|
||||
if (extension_settings.audio === undefined)
|
||||
extension_settings.audio = {};
|
||||
|
||||
if (Object.keys(extension_settings.audio).length === 0) {
|
||||
Object.assign(extension_settings.audio, defaultSettings)
|
||||
}
|
||||
|
@ -566,7 +566,7 @@ class CoquiTtsProvider {
|
||||
if (apiResult["status"] == "done") {
|
||||
$("#coqui_api_model_install_status").text("Model installed and ready to use!");
|
||||
$("#coqui_api_model_install_button").hide();
|
||||
onModelNameChange_pointer();
|
||||
onModelNameChange_pointer(); // TODO: error ?
|
||||
}
|
||||
|
||||
if (apiResult["status"] == "downloading") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user