mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
@@ -149,7 +149,7 @@ async function initContextMenu() {
|
||||
appendContextMenuOption(id, 'Generate forever', () => generateForever(`#${tab}_generate`));
|
||||
appendContextMenuOption(id, 'Apply selected style', quickApplyStyle);
|
||||
appendContextMenuOption(id, 'Quick save style', quickSaveStyle);
|
||||
appendContextMenuOption(id, 'nVidia overlay', initNVML);
|
||||
appendContextMenuOption(id, 'nVidia overlay', startNVML);
|
||||
id = `#${tab}_reprocess`;
|
||||
appendContextMenuOption(id, 'Decode full quality', () => reprocessClick(`${tab}`, 'reprocess_decode'), true);
|
||||
appendContextMenuOption(id, 'Refine & HiRes pass', () => reprocessClick(`${tab}`, 'reprocess_refine'), true);
|
||||
|
||||
@@ -90,6 +90,10 @@ async function initNVML() {
|
||||
gradioApp().appendChild(nvmlEl);
|
||||
log('initNVML');
|
||||
}
|
||||
}
|
||||
|
||||
async function startNVML() {
|
||||
nvmlEl = document.getElementById('nvml');
|
||||
if (nvmlInterval) {
|
||||
clearInterval(nvmlInterval);
|
||||
nvmlInterval = null;
|
||||
|
||||
@@ -2055,6 +2055,11 @@ div:has(>#tab-gallery-folders) {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.video-model-link {
|
||||
color: var(--button-primary-background-fill);
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@keyframes move {
|
||||
from {
|
||||
background-position-x: 0, -40px;
|
||||
|
||||
@@ -39,6 +39,7 @@ async function initStartup() {
|
||||
executeCallbacks(uiReadyCallbacks);
|
||||
initLogMonitor();
|
||||
setupExtraNetworks();
|
||||
initNVML();
|
||||
|
||||
// optinally wait for modern ui
|
||||
if (window.waitForUiReady) await waitForUiReady();
|
||||
|
||||
Reference in New Issue
Block a user