mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-28 19:23:14 +01:00
Default value for hypernetworkStrength
Don't fail when the Hypernetwork Strength text input field is empty
This commit is contained in:
parent
4d31078579
commit
06c990e94d
@ -692,6 +692,9 @@ function makeImage() {
|
|||||||
if (guidanceScaleField.value == "") {
|
if (guidanceScaleField.value == "") {
|
||||||
guidanceScaleField.value = guidanceScaleSlider.value / 10
|
guidanceScaleField.value = guidanceScaleSlider.value / 10
|
||||||
}
|
}
|
||||||
|
if (hypernetworkStrengthField.value == "") {
|
||||||
|
hypernetworkStrengthField.value = hypernetworkStrengthSlider.value / 100
|
||||||
|
}
|
||||||
const taskTemplate = getCurrentUserRequest()
|
const taskTemplate = getCurrentUserRequest()
|
||||||
const newTaskRequests = getPrompts().map((prompt) =>
|
const newTaskRequests = getPrompts().map((prompt) =>
|
||||||
Object.assign({}, taskTemplate, {
|
Object.assign({}, taskTemplate, {
|
||||||
|
Loading…
Reference in New Issue
Block a user