update changelog

This commit is contained in:
Vladimir Mandic
2024-06-28 10:33:15 -04:00
parent 61ab51b6da
commit f185576dad
2 changed files with 14 additions and 13 deletions
+1
View File
@@ -6,6 +6,7 @@
- fix executing extensions with zero params
- fix nncf for lora, thanks @Disty0!
- fix diffusers version detection for SD3
- fix current step for higher order samplers
- add SD3 with FP16 T5 to list of detected models
- multiple ModernUI fixes
+13 -13
View File
@@ -1087,20 +1087,20 @@ def check_ui(ver):
if not same(ver):
log.debug(f'Branch mismatch: sdnext={ver["branch"]} ui={ver["ui"]}')
cwd = os.getcwd()
try:
os.chdir('extensions-builtin/sdnext-modernui')
target = 'dev' if 'dev' in ver['branch'] else 'main'
git('checkout ' + target, ignore=True, optional=True)
cwd = os.getcwd()
try:
os.chdir('extensions-builtin/sdnext-modernui')
target = 'dev' if 'dev' in ver['branch'] else 'main'
git('checkout ' + target, ignore=True, optional=True)
os.chdir(cwd)
ver = get_version(force=True)
if not same(ver):
log.debug(f'Branch synchronized: {ver["branch"]}')
else:
log.debug(f'Branch sync failed: sdnext={ver["branch"]} ui={ver["ui"]}')
except Exception as e:
log.debug(f'Branch switch: {e}')
os.chdir(cwd)
ver = get_version(force=True)
if not same(ver):
log.debug(f'Branch synchronized: {ver["branch"]}')
else:
log.debug(f'Branch sync failed: sdnext={ver["branch"]} ui={ver["ui"]}')
except Exception as e:
log.debug(f'Branch switch: {e}')
os.chdir(cwd)
# check version of the main repo and optionally upgrade it