remove logs

This commit is contained in:
Micky Brunetti 2023-05-09 15:43:58 +02:00 committed by GitHub
parent 7fd3a4e6d7
commit 749a93295e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,10 +89,8 @@ def refresh_vae_list():
def find_vae_near_checkpoint(checkpoint_file):
checkpoint_path = os.path.basename(checkpoint_file).split('.', 1)[0]
print(f"checkpoint: {checkpoint_path}")
for vae_file in vae_dict.values():
vae_path = os.path.basename(vae_file).split('.', 1)[0]
print(f"vae: {vae_path}")
if vae_path == checkpoint_path:
return vae_file