mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix extra network save preview/description
This commit is contained in:
@@ -72,6 +72,7 @@ function cardClicked(tabname, textToAdd, allowNegativePrompt) {
|
||||
}
|
||||
|
||||
function saveCardPreview(event, tabname, filename) {
|
||||
console.log('saveCardPreview', event, tabname, filename)
|
||||
const textarea = gradioApp().querySelector(`#${tabname}_preview_filename > label > textarea`);
|
||||
const button = gradioApp().getElementById(`${tabname}_save_preview`);
|
||||
textarea.value = filename;
|
||||
|
||||
Reference in New Issue
Block a user