diff --git a/scripts/forge_hidiffusion.py b/scripts/forge_hidiffusion.py
index f5fb9e2..0b0784b 100644
--- a/scripts/forge_hidiffusion.py
+++ b/scripts/forge_hidiffusion.py
@@ -117,40 +117,40 @@ def ui(self, *args, **kwargs):
raunet_ca_input_blocks = gr.Text(label="CA Input Blocks", value="4")
raunet_ca_output_blocks = gr.Text(label="CA Output Blocks", value="8")
- with gr.Tab("MSW-MSA Simple"):
+ with gr.Tab("MSW-MSA"):
gr.Markdown(
"Simplified MSW-MSA for easier setup. Can improve performance and quality at high resolutions."
)
mswmsa_enabled = gr.Checkbox(label="MSW-MSA Enabled", value=lambda: True)
- with InputAccordion(False, label="MSW-MSA Advanced") as use_mswmsa_advanced:
+ with InputAccordion(False, label="Advanced") as use_mswmsa_advanced:
+ gr.Markdown("Advanced MSW-MSA settings. For fine-tuning performance and quality improvements.")
with gr.Group():
- gr.Markdown("Advanced MSW-MSA settings. For fine-tuning performance and quality improvements.")
+ gr.HTML(
+ "Recommended block settings:
Note: Make sure you use the options corresponding to your model type (SD1.5 or SDXL). Otherwise, it may have no effect or fail.
" + "Note: Make sure you use the options corresponding to your model type (SD1.5 or SDXL). Otherwise, it may have no effect or fail.
" ) gr.Markdown( "Compatibility: These methods may not work with other attention modifications or scaling effects targeting the same blocks." @@ -200,7 +200,7 @@ def update_mswmsa_settings(model_type): ) self.infotext_fields = [ - (enabled, lambda d: 'raunet_enabled' in d or 'mswmsa_enabled' in d), + (enabled, lambda d: "raunet_enabled" in d or "mswmsa_enabled" in d), (model_type, "model_type"), (raunet_enabled, "raunet_enabled"), (use_raunet_advanced, "use_raunet_advanced"),