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"
|
||||
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
|
||||
src="js/ui/tool/maskbrush.js?v=1e8a893"
|
||||
type="text/javascript"></script>
|
||||
|
|
|
@ -855,7 +855,8 @@ const dream_generate_callback = async (bb, resolution, state) => {
|
|||
}
|
||||
|
||||
// Only set this if HRFix is enabled in the first place
|
||||
request.denoising_strength = request.enable_hr
|
||||
request.denoising_strength =
|
||||
!global.isOldHRFix && request.enable_hr
|
||||
? stableDiffusionData.hr_denoising_strength
|
||||
: 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue