I guess this does not do much, but precautions
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
parent
768781b1f9
commit
bbce97d48d
2 changed files with 5 additions and 4 deletions
|
@ -355,7 +355,7 @@
|
||||||
src="js/ui/tool/generic.js?v=2bcd36d"
|
src="js/ui/tool/generic.js?v=2bcd36d"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
|
|
||||||
<script src="js/ui/tool/dream.js?v=e4e5883" type="text/javascript"></script>
|
<script src="js/ui/tool/dream.js?v=1f10ae6" type="text/javascript"></script>
|
||||||
<script
|
<script
|
||||||
src="js/ui/tool/maskbrush.js?v=1e8a893"
|
src="js/ui/tool/maskbrush.js?v=1e8a893"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
|
|
|
@ -855,9 +855,10 @@ const dream_generate_callback = async (bb, resolution, state) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only set this if HRFix is enabled in the first place
|
// Only set this if HRFix is enabled in the first place
|
||||||
request.denoising_strength = request.enable_hr
|
request.denoising_strength =
|
||||||
? stableDiffusionData.hr_denoising_strength
|
!global.isOldHRFix && request.enable_hr
|
||||||
: 1;
|
? stableDiffusionData.hr_denoising_strength
|
||||||
|
: 1;
|
||||||
|
|
||||||
// Dream
|
// Dream
|
||||||
_generate("txt2img", request, bb);
|
_generate("txt2img", request, bb);
|
||||||
|
|
Loading…
Reference in a new issue