Fix Typo in migrate_to_3.py (#3610)

this caused the vae in the models.yaml to point to the wrong folder
This commit is contained in:
blessedcoolant 2023-06-29 17:53:50 +12:00 committed by GitHub
commit e65e635944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,7 +326,7 @@ class MigrateTo3(object):
vae_path = p vae_path = p
elif repo_id := vae.get('repo_id'): elif repo_id := vae.get('repo_id'):
if repo_id=='stabilityai/sd-vae-ft-mse': # this guy is already downloaded if repo_id=='stabilityai/sd-vae-ft-mse': # this guy is already downloaded
vae_path = 'models/core/convert/se-vae-ft-mse' vae_path = 'models/core/convert/sd-vae-ft-mse'
else: else:
vae_path = self._download_vae(repo_id, vae.get('subfolder')) vae_path = self._download_vae(repo_id, vae.get('subfolder'))