code: def set_local_dir(d):
      global _HUB_ROOT
      _HUB_ROOT = os.path.expanduser(d)
  
file_path: towhee/towhee/hub/cache_manager.py
imports: import os
  from pathlib import Path
  import threading
  from .downloader import download_operator, download_pipeline, repo_tag_path
label_desc: Use image node_id 1 for calling a global function with example usage: set_local_dir(d) without return types