mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-05-06 17:24:27 +02:00
fix prompt value
fix accidental underscore addition to the text display
This commit is contained in:
parent
6b65b05e2f
commit
fcac6c4f8c
@ -697,7 +697,7 @@ async function makeImage() {
|
|||||||
function createFileName() {
|
function createFileName() {
|
||||||
|
|
||||||
// Most important information is the prompt
|
// 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 seed = seedField.value;
|
||||||
const steps = numInferenceStepsField.value;
|
const steps = numInferenceStepsField.value;
|
||||||
const guidance = guidanceScaleField.value;
|
const guidance = guidanceScaleField.value;
|
||||||
|
Loading…
Reference in New Issue
Block a user