code: def test_upload_folder_to_hfhub_invalid_repo_type(
      tmp_folder_with_file,
  ):
      with pytest.raises(ValueError, match=r"Invalid repo_type .*"):
          upload_folder_to_hfhub(
              "test_repo",
              tmp_folder_with_file,
              repo_type="invalid_type",
          )
  
file_path: ludwig/tests/ludwig/utils/test_hf_utils.py
imports: import os
  import shutil
  from typing import Type
  import pytest
  from transformers import AlbertModel, BertModel, BertTokenizer
  from ludwig.encoders.text_encoders import ALBERTEncoder, BERTEncoder
  from ludwig.utils.hf_utils import load_pretrained_hf_model_from_hub, load_pretrained_hf_model_with_hub_fallback, upload_folder_to_hfhub
label_desc: Use image node_id 7 for calling a global function with example usage: test_upload_folder_to_hfhub_invalid_repo_type(tmp_folder_with_file) without return types