mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-02-23 05:42:01 +01:00
Don't show or save hypernetwork info if using v3 (diffusers)
This commit is contained in:
parent
8957250db8
commit
ca8a96f956
@ -15,14 +15,12 @@ const SETTINGS_IDS_LIST = [
|
|||||||
"stable_diffusion_model",
|
"stable_diffusion_model",
|
||||||
"clip_skip",
|
"clip_skip",
|
||||||
"vae_model",
|
"vae_model",
|
||||||
"hypernetwork_model",
|
|
||||||
"sampler_name",
|
"sampler_name",
|
||||||
"width",
|
"width",
|
||||||
"height",
|
"height",
|
||||||
"num_inference_steps",
|
"num_inference_steps",
|
||||||
"guidance_scale",
|
"guidance_scale",
|
||||||
"prompt_strength",
|
"prompt_strength",
|
||||||
"hypernetwork_strength",
|
|
||||||
"tiling",
|
"tiling",
|
||||||
"output_format",
|
"output_format",
|
||||||
"output_quality",
|
"output_quality",
|
||||||
@ -62,6 +60,11 @@ const SETTINGS_IDS_LIST = [
|
|||||||
|
|
||||||
const IGNORE_BY_DEFAULT = ["prompt"]
|
const IGNORE_BY_DEFAULT = ["prompt"]
|
||||||
|
|
||||||
|
if (!testDiffusers.checked) {
|
||||||
|
SETTINGS_IDS_LIST.push("hypernetwork_model")
|
||||||
|
SETTINGS_IDS_LIST.push("hypernetwork_strength")
|
||||||
|
}
|
||||||
|
|
||||||
const SETTINGS_SECTIONS = [
|
const SETTINGS_SECTIONS = [
|
||||||
// gets the "keys" property filled in with an ordered list of settings in this section via initSettings
|
// gets the "keys" property filled in with an ordered list of settings in this section via initSettings
|
||||||
{ id: "editor-inputs", name: "Prompt" },
|
{ id: "editor-inputs", name: "Prompt" },
|
||||||
|
Loading…
Reference in New Issue
Block a user