Merge branch 'AUTOMATIC1111:master' into js

This commit is contained in:
papuSpartan 2022-11-01 14:05:57 -05:00 committed by GitHub
commit d0d74e459d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 1454 additions and 1121 deletions

View file

@ -21,4 +21,15 @@ function extensions_check(){
})
return []
}
}
function install_extension_from_index(button, url){
button.disabled = "disabled"
button.value = "Installing..."
textarea = gradioApp().querySelector('#extension_to_install textarea')
textarea.value = url
textarea.dispatchEvent(new Event("input", { bubbles: true }))
gradioApp().querySelector('#install_extension_button').click()
}