Experiment with using absolute paths within model management

This commit is contained in:
Brandon Rising
2024-03-07 13:55:10 -05:00
committed by Brandon
parent 66f0ff5b13
commit e52274ecac
4 changed files with 5 additions and 6 deletions

View File

@ -129,6 +129,8 @@ class ModelProbe(object):
if fields is None:
fields = {}
model_path = model_path.resolve()
format_type = ModelFormat.Diffusers if model_path.is_dir() else ModelFormat.Checkpoint
model_info = None
model_type = None