code: def _upload_concept_prompts(self, api):
      _prompts = {}
      _prompts["concept1"] = self.concept_name
  
      prompts = json.dumps(_prompts)
      prompts = prompts.encode("utf-8")
      prompts = io.BytesIO(prompts)
      api.upload_file(
          path_or_fileobj=prompts,
          path_in_repo="prompts.json",
          repo_id=self.repo_name,
          repo_type="dataset",
          token=self.token,
      )
  
file_path: autotrain-advanced/src/autotrain/preprocessor/dreambooth.py
imports: import io
  import json
  import os
  from dataclasses import dataclass
  from typing import Any, List
  from huggingface_hub import HfApi, create_repo
  from autotrain import logger
label_desc: Use image node_id 3 for calling the DreamboothPreprocessor obj's underlying member method code with example usage: obj._upload_concept_prompts(api) without return types