unified video save

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-10-05 13:30:22 -04:00
parent d7d86ed286
commit 58b0ab9da6
7 changed files with 69 additions and 21 deletions
-1
View File
@@ -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];
}
+1 -1
View File
@@ -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;