code: def allowed_directories_for_previews(self):
      return [
          v
          for v in [shared.cmd_opts.ckpt_dir, sd_models.model_path]
          if v is not None
      ]
  
file_path: stable-diffusion-webui/modules/ui_extra_networks_checkpoints.py
imports: import html
  import os
  from modules import shared, ui_extra_networks, sd_models
  from modules.ui_extra_networks import quote_js
  from modules.ui_extra_networks_checkpoints_user_metadata import CheckpointUserMetadataEditor
label_desc: Use image node_id 5 for calling the ExtraNetworksPageCheckpoints obj's underlying member method code with example usage: obj.allowed_directories_for_previews() and returns: unknown