Skip to content

Commit

Permalink
Update StableDiffusionWebUI.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shellward authored Sep 11, 2022
1 parent 3d58952 commit cc63233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StableDiffusionWebUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def validate(prompt, steps, cfg_scale, width, height, num_batches, batch_size, i
checkHeight(height)
checkNumBatches(num_batches)
checkBatchSize(batch_size)
if function_index == FunctionIndex.IMAGE_TO_IMAGE or FunctionIndex.IMAGE_TO_IMAGE_WITH_MASK:
if function_index == FunctionIndex.IMAGE_TO_IMAGE or function_index == FunctionIndex.IMAGE_TO_IMAGE_WITH_MASK:
checkImageString(image_string)
checkStrength(strength)
if function_index== FunctionIndex.IMAGE_TO_IMAGE_WITH_MASK:
Expand Down

0 comments on commit cc63233

Please sign in to comment.