add outage note to refiner

This commit is contained in:
layerdiffusion
2024-08-05 14:00:59 -07:00
parent d9fc9f40e6
commit 252d437f5d
2 changed files with 5 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
WebUI Forge is under a week of major revision right now between 2024 Aug 1 and Aug 7. To join the test, just update to the latest unstable version.
**Current Progress (2024 Aug 3):** Backend Rewrite is 87% finished - remaining 30 hours to begin making it stable; remaining 48 hours to begin supporting many new things.
**Current Progress (2024 Aug 3):** Backend Rewrite is 88% finished - remaining 30 hours to begin making it stable; remaining 48 hours to begin supporting many new things.
For downloading previous versions, see [Previous Versions](https://github.com/lllyasviel/stable-diffusion-webui-forge/discussions/849).

View File

@@ -21,11 +21,13 @@ class ScriptRefiner(scripts.ScriptBuiltinUI):
def ui(self, is_img2img):
with InputAccordion(False, label="Refiner", elem_id=self.elem_id("enable")) as enable_refiner:
gr.Markdown('Refiner is currently under maintenance and unavailable. Sorry for the inconvenience.')
with gr.Row():
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")
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", interactive=False)
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 switch 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", interactive=False)
def lookup_checkpoint(title):
info = sd_models.get_closet_checkpoint_match(title)