Mark the new upscale button as new

This commit is contained in:
cmdr2 2022-10-19 22:08:58 +05:30
parent 88bd60a083
commit 29e32ffc42

View File

@ -371,7 +371,7 @@ function showImages(reqBody, res, outputContainer, livePreview) {
{ text: 'Download', on_click: onDownloadImageClick },
{ text: 'Make Similar Images', on_click: onMakeSimilarClick },
{ text: 'Draw another 25 steps', on_click: onContinueDrawingClick },
{ text: 'Upscale', on_click: onUpscaleClick, filter: (req, img) => !req.use_upscale },
{ text: 'Upscale (new)', on_click: onUpscaleClick, filter: (req, img) => !req.use_upscale },
{ text: 'Fix Faces', on_click: onFixFacesClick, filter: (req, img) => !req.use_face_correction }
]