minor fixes

This commit is contained in:
Vladimir Mandic
2023-06-08 16:10:39 -04:00
parent b6ac47e799
commit 4a3ab4ed31
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -43,6 +43,7 @@ Tech that can be integrated as part of the core workflow...
- [Dream artist](https://github.com/7eu7d7/DreamArtist-sd-webui-extension)
- [QuickEmbedding](https://github.com/ethansmith2000/QuickEmbedding)
- [DataComp CLiP](https://github.com/mlfoundations/open_clip/blob/main/docs/datacomp_models.md)
- [ClipSeg](https://github.com/timojl/clipseg)
- `TensorRT`
## Random
@@ -58,4 +59,3 @@ Tech that can be integrated as part of the core workflow...
- port `p.all_hr_prompts`
- test `lyco_patch_lora`
- fix `lyco` logging
- git diff index
+3 -1
View File
@@ -350,7 +350,9 @@ def check_modified_files():
try:
res = git('status --porcelain')
files = [x[2:].strip() for x in res.split('\n')]
log.warning(f'Modified files: {files}')
files = [x for x in files if len(x) > 0 and not x.startswith('extensions')]
if len(files) > 0:
log.warning(f'Modified files: {files}')
except:
pass
+2 -1
View File
@@ -364,8 +364,9 @@ class SharedSettingsStackHelper(object):
shared.opts.data["token_merging_ratio"] = self.token_merging_ratio
shared.opts.data["token_merging_random"] = self.token_merging_random
shared.opts.data["force_latent_sampler"] = self.force_latent_sampler
if (self.sd_model_checkpoint != shared.opts.sd_model_checkpoint) or (self.sd_model_dict != shared.opts.sd_model_dict):
if (self.sd_model_dict != shared.opts.sd_model_dict):
shared.opts.data["sd_model_dict"] = self.sd_model_dict
if (self.sd_model_checkpoint != shared.opts.sd_model_checkpoint):
shared.opts.data["sd_model_checkpoint"] = self.sd_model_checkpoint
sd_models.reload_model_weights()
if self.sd_vae_checkpoint != shared.opts.sd_vae: