Fix Typo in migrate_to_3.py

This commit is contained in:
mickr777 2023-06-29 14:45:55 +10:00 committed by GitHub
parent 4308d593c3
commit 30a917f70c
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'))