mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
reference models add distilled and community sections
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -170,7 +170,7 @@ async function initModels() {
|
||||
if (en.classList.contains('hide')) gradioApp().getElementById('txt2img_extra_networks_btn').click();
|
||||
const repeat = setInterval(() => {
|
||||
const buttons = Array.from(gradioApp().querySelectorAll('#txt2img_model_subdirs > button')) || [];
|
||||
const reference = buttons.find((b) => b.innerText === 'Reference');
|
||||
const reference = buttons.find((b) => (b.innerText === 'Reference') || (b.innerText === 'Distilled') || (b.innerText === 'Community'));
|
||||
if (reference) {
|
||||
clearInterval(repeat);
|
||||
reference.click();
|
||||
|
||||
Reference in New Issue
Block a user