Select and Load Model Error

#202
by avigra - opened

Hi,

When I'm trying to run "Load Model Error" for the first time it shows an error for this line:
ckpt_config_path = custom_config_path if model_config == "custom" else os.path.join(models_path, model_config)

NameError Traceback (most recent call last)
in
66
67 # config path
---> 68 ckpt_config_path = custom_config_path if model_config == "custom" else os.path.join(models_path, model_config)
69 if os.path.exists(ckpt_config_path):
70 print(f"{ckpt_config_path} exists")

NameError: name 'models_path' is not defined.

Any ideas how can I solve it?

Sign up or log in to comment