Commit 20a8dbeb authored by kurumuz's avatar kurumuz

fix bug

parent 86028fb4
......@@ -66,7 +66,7 @@ def sanitize_stable_diffusion(request):
if request.width * request.height >= 1024*1025:
return False, "width and height must be less than 1024*1025"
if request.strength < 0.0 or request.strength > 1.0:
if request.strength < 0.0 or request.strength >= 1.0:
return False, "strength should be more than 0.0 and less than 1.0"
if request.noise < 0.0 or request.noise > 1.0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment