From fcac6c4f8cc9cb9e2836c00d6528546cdf25e9f7 Mon Sep 17 00:00:00 2001 From: caranicas Date: Sat, 3 Sep 2022 12:38:30 -0400 Subject: [PATCH] fix prompt value fix accidental underscore addition to the text display --- ui/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/index.html b/ui/index.html index bfef5c43..e49a4566 100644 --- a/ui/index.html +++ b/ui/index.html @@ -697,7 +697,7 @@ async function makeImage() { function createFileName() { // Most important information is the prompt - const underscoreName = promptField.value = promptField.value.replace(/[^a-zA-Z0-9]/g, '_'); + const underscoreName = promptField.value.replace(/[^a-zA-Z0-9]/g, '_'); const seed = seedField.value; const steps = numInferenceStepsField.value; const guidance = guidanceScaleField.value;