code: def download_from_gstorage(gstorage_path, local_path):
      """Downloads a file from the bucket.
  
      Args:
        gstorage_path: Path to the file inside the bucket that needs to be
          downloaded. Format: gs://bucket-name/path/to/file.txt
        local_path: Local path where downloaded file should be stored.
      """
      gstorage_path = gstorage_path.strip("gs:/")
      bucket_name = gstorage_path.split("/")[0]
      blob_name = os.path.relpath(gstorage_path, bucket_name)
  
      storage_client = storage.Client()
  
      bucket = storage_client.bucket(bucket_name)
      blob = bucket.blob(blob_name)
  
      blob.download_to_filename(local_path)
      logging.info(
          "Downloaded file. Source: %s, Destination: %s",
          gstorage_path,
          local_path,
      )
  
file_path: ddsp/ddsp/training/cloud.py
imports: import os
  import re
  from absl import logging
  from google.cloud import storage
  import hypertune
label_desc: Use image node_id 1 for calling a global function with example usage: download_from_gstorage(gstorage_path, local_path) without return types