code: def allowed_directories_for_previews(self):
      return list(sd_hijack.model_hijack.embedding_db.embedding_dirs)
  
file_path: stable-diffusion-webui/modules/ui_extra_networks_textual_inversion.py
imports: import os
  from modules import ui_extra_networks, sd_hijack, shared
  from modules.ui_extra_networks import quote_js
label_desc: Use image node_id 5 for calling the ExtraNetworksPageTextualInversion obj's underlying member method code with example usage: obj.allowed_directories_for_previews() and returns: list