fix prompt value

fix accidental underscore addition to the text display
This commit is contained in:
caranicas 2022-09-03 12:38:30 -04:00 committed by GitHub
parent 6b65b05e2f
commit fcac6c4f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;