code: def get_theme_assets(
      space_info: huggingface_hub.hf_api.SpaceInfo,
  ) -> list[ThemeAsset]:
      # Commenting out as it seems that the `huggingface_hub` library is not parsing tags
      # if "gradio-theme" not in getattr(space_info, "tags", []):
      # raise ValueError(f"{space_info.id} is not a valid gradio-theme space!")
  
      return [
          ThemeAsset(filename.rfilename)
          for filename in space_info.siblings
          if filename.rfilename.startswith("themes/")
      ]
  
file_path: gradio/gradio/themes/utils/semver_match.py
imports: from __future__ import annotations
  from dataclasses import dataclass, field
  import huggingface_hub
  import semantic_version
  import semantic_version
label_desc: Use image node_id 1 for calling a global function with example usage: get_theme_assets(space_info) and returns: unknown