mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix img2img batch
This commit is contained in:
@@ -33,10 +33,7 @@ async function setupControlUI() {
|
||||
const name = tab.innerText.toLowerCase();
|
||||
for (let i = 0; i < 10; i += 1) {
|
||||
const btn = gradioApp().getElementById(`refresh_${name}_models_${i}`);
|
||||
if (btn) {
|
||||
btn.click();
|
||||
console.log('HERE', `refresh_${name}_models_${i}`);
|
||||
}
|
||||
if (btn) btn.click();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user