aboutsummaryrefslogtreecommitdiff
path: root/modules/processing_scripts/refiner.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-12 12:54:32 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-12 12:54:32 +0300
commitb293ed30610c040e621e1840d63047ae298f0650 (patch)
treeab85c6bea89827fe070f9adcd71c85355297d289 /modules/processing_scripts/refiner.py
parent64311faa6848d641cc452115e4e1eb47d2a7b519 (diff)
make it possible to use hires fix together with refiner
Diffstat (limited to 'modules/processing_scripts/refiner.py')
-rw-r--r--modules/processing_scripts/refiner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing_scripts/refiner.py b/modules/processing_scripts/refiner.py
index 5a82991a..773ec5d0 100644
--- a/modules/processing_scripts/refiner.py
+++ b/modules/processing_scripts/refiner.py
@@ -24,7 +24,7 @@ class ScriptRefiner(scripts.Script):
refiner_checkpoint = gr.Dropdown(label='Checkpoint', elem_id=self.elem_id("checkpoint"), choices=sd_models.checkpoint_tiles(), value='', tooltip="switch to another model in the middle of generation")
create_refresh_button(refiner_checkpoint, sd_models.list_models, lambda: {"choices": sd_models.checkpoint_tiles()}, self.elem_id("checkpoint_refresh"))
- refiner_switch_at = gr.Slider(value=0.8, label="Switch at", minimum=0.01, maximum=1.0, step=0.01, elem_id=self.elem_id("switch_at"), tooltip="fraction of sampling steps when the swtch to refiner model should happen; 1=never, 0.5=switch in the middle of generation")
+ refiner_switch_at = gr.Slider(value=0.8, label="Switch at", minimum=0.01, maximum=1.0, step=0.01, elem_id=self.elem_id("switch_at"), tooltip="fraction of sampling steps when the switch to refiner model should happen; 1=never, 0.5=switch in the middle of generation")
def lookup_checkpoint(title):
info = sd_models.get_closet_checkpoint_match(title)