mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
@@ -4,7 +4,6 @@ function controlInputMode(inputMode, ...args) {
|
||||
const tab = gradioApp().querySelector('#control-tab-input button.selected');
|
||||
if (!tab) return ['Image', ...args];
|
||||
inputMode = tab.innerText;
|
||||
console.log('HERE0', tab, inputMode);
|
||||
return [inputMode, ...args];
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ function refreshHistory() {
|
||||
if (inferenceTypes.some((type) => entry.job.toLowerCase().startsWith(type))) entry.type = 'inference';
|
||||
else if (ioTypes.some((type) => entry.job.toLowerCase().startsWith(type))) entry.type = 'io';
|
||||
else entry.type = 'default';
|
||||
ts.push({ start, end: end.timestamp, label: entry.job, type: entry.type });
|
||||
if (start && end.timestamp) ts.push({ start, end: end.timestamp, label: entry.job, type: entry.type });
|
||||
}
|
||||
}
|
||||
if (!ts.length) return;
|
||||
|
||||
Reference in New Issue
Block a user