mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-03 06:47:23 +00:00
Merge branch 'main' into tdd
This commit is contained in:
@@ -82,6 +82,11 @@ function switch_to_extras() {
|
||||
return Array.from(arguments);
|
||||
}
|
||||
|
||||
function switch_to_svd() {
|
||||
gradioApp().querySelector('#tabs').querySelectorAll('button')[6].click();
|
||||
return Array.from(arguments);
|
||||
}
|
||||
|
||||
function get_tab_index(tabId) {
|
||||
let buttons = gradioApp().getElementById(tabId).querySelector('div').querySelectorAll('button');
|
||||
for (let i = 0; i < buttons.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user