code: def create_empty_hub_dataset_repo(
      *,
      prefix: str,
      file_paths: Optional[list[str]] = None,
      private: bool = False,
      gated: Optional[str] = None,
  ) -> str:
      dataset_name = f"{prefix}-{int(time.time() * 10e3)}"
      repo_id = f"{CI_USER}/{dataset_name}"
      hf_api.create_repo(
          repo_id=repo_id,
          token=CI_USER_TOKEN,
          repo_type=DATASET,
          private=private,
      )
      if gated:
          update_repo_settings(
              repo_id=repo_id,
              token=CI_USER_TOKEN,
              gated=gated,
              repo_type=DATASET,
          )
      if file_paths is not None:
          for file_path in file_paths:
              hf_api.upload_file(
                  token=CI_USER_TOKEN,
                  path_or_fileobj=file_path,
                  path_in_repo=Path(file_path).name.replace(
                      "{dataset_name}", dataset_name
                  ),
                  repo_id=repo_id,
                  repo_type=DATASET,
              )
      return repo_id
  
imports: import time
  from contextlib import suppress
  from dataclasses import dataclass, field
  from pathlib import Path
  from typing import Any, Optional, Union
  import requests
  from huggingface_hub.community import DiscussionComment, DiscussionWithDetails
  from huggingface_hub.constants import REPO_TYPE_DATASET, REPO_TYPES, REPO_TYPES_URL_PREFIXES
  from huggingface_hub.hf_api import HfApi
  from huggingface_hub.utils._errors import hf_raise_for_status
  from libcommon.resources import Resource
  from .constants import CI_HUB_ENDPOINT, CI_PARQUET_CONVERTER_USER, CI_USER, CI_USER_TOKEN
label_desc: Use image node_id 3 for calling a global function with example usage: create_empty_hub_dataset_repo() and returns: repo_id