code: def add_file_to_zip(zf: zipfile.ZipFile, path: str) -> None:
      """Adds a file to the existing zip. Does nothing if file does not exist.
  
      Args:
          zf: zipfile object to add to
          path: path to the file to add
      """
  
      try:
          zf.write(path, os.path.basename(path))
      except Exception:
          pass
  
imports: import logging
  import os
  import pickle
  import random
  import zipfile
  from typing import Any
  import numpy
  import openai
  import psutil
  import torch
label_desc: Use image node_id 5 for calling a global function with example usage: add_file_to_zip(zf, path) without return types