enable compact view for train tab

prevent  previews from ruining hypernetwork training
This commit is contained in:
AUTOMATIC
2023-01-21 23:40:13 +03:00
parent 216f67ec7c
commit 78f59a4e01
3 changed files with 9 additions and 3 deletions

View File

@@ -715,6 +715,8 @@ def train_hypernetwork(id_task, hypernetwork_name, learn_rate, batch_size, gradi
do_not_save_samples=True,
)
p.disable_extra_networks = True
if preview_from_txt2img:
p.prompt = preview_prompt
p.negative_prompt = preview_negative_prompt