mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-01-11 16:58:31 +01: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() {
|
||||
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user