code: def allowed_directories_for_previews(self):
      return [
          shared.cmd_opts.lora_dir,
          shared.cmd_opts.lyco_dir_backcompat,
      ]
  
file_path: stable-diffusion-webui/extensions-builtin/Lora/ui_extra_networks_lora.py
imports: import os
  import network
  import networks
  from modules import shared, ui_extra_networks
  from modules.ui_extra_networks import quote_js
  from ui_edit_user_metadata import LoraUserMetadataEditor
label_desc: Use image node_id 5 for calling the ExtraNetworksPageLora obj's underlying member method code with example usage: obj.allowed_directories_for_previews() and returns: list