mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-27 01:19:05 +01:00
fix issue with upsclaing checkbox
This commit is contained in:
parent
62842968cb
commit
445959abbd
@ -112,6 +112,9 @@ function SettingsList() {
|
|||||||
name="upscale_model"
|
name="upscale_model"
|
||||||
disabled={!isUsingUpscaling}
|
disabled={!isUsingUpscaling}
|
||||||
value={use_upscale}
|
value={use_upscale}
|
||||||
|
onChange={(e) => {
|
||||||
|
setRequestOption("use_upscale", e.target.value);
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<option value="RealESRGAN_x4plus">RealESRGAN_x4plus</option>
|
<option value="RealESRGAN_x4plus">RealESRGAN_x4plus</option>
|
||||||
<option value="RealESRGAN_x4plus_anime_6B">
|
<option value="RealESRGAN_x4plus_anime_6B">
|
||||||
|
@ -239,7 +239,7 @@ export const useImageCreate = create<ImageCreateState>(
|
|||||||
state.requestOptions.use_upscale = state.uiOptions
|
state.requestOptions.use_upscale = state.uiOptions
|
||||||
.isCheckedUseUpscaling
|
.isCheckedUseUpscaling
|
||||||
? "RealESRGAN_x4plus"
|
? "RealESRGAN_x4plus"
|
||||||
: null;
|
: undefined;
|
||||||
localStorage.setItem(
|
localStorage.setItem(
|
||||||
"ui:isCheckedUseUpscaling",
|
"ui:isCheckedUseUpscaling",
|
||||||
state.uiOptions.isCheckedUseUpscaling
|
state.uiOptions.isCheckedUseUpscaling
|
||||||
|
Loading…
Reference in New Issue
Block a user