aboutsummaryrefslogtreecommitdiffstats
path: root/modules/processing.py
diff options
context:
space:
mode:
authordiscus0434 <66945496+discus0434@users.noreply.github.com>2022-10-20 00:08:47 +0000
committerGitHub <noreply@github.com>2022-10-20 00:08:47 +0000
commit4574eea5898dcd64f354fcf17a5c67b55288b002 (patch)
treed180b71e7ac4f144ad6daceef8a56cba61f235ab /modules/processing.py
parent634acdd9546ca84a9fc75d5ecfe5650af566dd8e (diff)
parent604620a7f08d1126a8689f9f4bec8ade0801a69b (diff)
downloadstable-diffusion-webui-gfx803-4574eea5898dcd64f354fcf17a5c67b55288b002.tar.gz
stable-diffusion-webui-gfx803-4574eea5898dcd64f354fcf17a5c67b55288b002.tar.bz2
stable-diffusion-webui-gfx803-4574eea5898dcd64f354fcf17a5c67b55288b002.zip
Merge branch 'AUTOMATIC1111:master' into master
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index ea926fc3..bcb0c32c 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -304,7 +304,7 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments, iteration
"Size": f"{p.width}x{p.height}",
"Model hash": getattr(p, 'sd_model_hash', None if not opts.add_model_hash_to_info or not shared.sd_model.sd_model_hash else shared.sd_model.sd_model_hash),
"Model": (None if not opts.add_model_name_to_info or not shared.sd_model.sd_checkpoint_info.model_name else shared.sd_model.sd_checkpoint_info.model_name.replace(',', '').replace(':', '')),
- "Hypernet": (None if shared.loaded_hypernetwork is None else shared.loaded_hypernetwork.name.replace(',', '').replace(':', '')),
+ "Hypernet": (None if shared.loaded_hypernetwork is None else shared.loaded_hypernetwork.filename.split('\\')[-1].split('.')[0]),
"Batch size": (None if p.batch_size < 2 else p.batch_size),
"Batch pos": (None if p.batch_size < 2 else position_in_batch),
"Variation seed": (None if p.subseed_strength == 0 else all_subseeds[index]),