diff options
author | discus0434 <discus0434@gmail.com> | 2022-10-20 00:14:16 +0000 |
---|---|---|
committer | discus0434 <discus0434@gmail.com> | 2022-10-20 00:14:16 +0000 |
commit | ecb433b22095ff4e7624db0266e1cadb2d3b4c13 (patch) | |
tree | a501333d6f9e752ca68171bcffc15813b76f401c /modules/processing.py | |
parent | 6f98e89486f55b0e4657e96ce640cf1c4675d187 (diff) | |
parent | 4574eea5898dcd64f354fcf17a5c67b55288b002 (diff) | |
download | stable-diffusion-webui-gfx803-ecb433b22095ff4e7624db0266e1cadb2d3b4c13.tar.gz stable-diffusion-webui-gfx803-ecb433b22095ff4e7624db0266e1cadb2d3b4c13.tar.bz2 stable-diffusion-webui-gfx803-ecb433b22095ff4e7624db0266e1cadb2d3b4c13.zip |
update
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 2 |
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]),
|