docstr: Adds fields in the dictionary for pushing to hub.
  
  Keyword Arguments:
  dictionary_for_upload: The dictionary to add keys to.
code: def create_docs(dicionary_for_upload: dict) -> dict:
      """Adds fields in the dictionary for pushing to hub.
  
      Keyword Arguments:
      dictionary_for_upload: The dictionary to add keys to.
      """
  
      dicionary_for_upload["sparkVersion"] = "3.0"
      dicionary_for_upload["license"] = "Open Source"
      dicionary_for_upload["supported"] = False
  
      if "sparknlpVersion" not in dicionary_for_upload.keys():
          dicionary_for_upload["sparknlpVersion"] = (
              "Spark NLP " + sparknlp.version()
          )
  
      if "description" not in dicionary_for_upload.keys():
          dicionary_for_upload[
              "description"
          ] = f"This model is used for {dicionary_for_upload['task']} and this model works with {dicionary_for_upload['language']} language"
  
      if "title" not in dicionary_for_upload.keys():
          dicionary_for_upload[
              "title"
          ] = f"{dicionary_for_upload['task']} for {dicionary_for_upload['language']} language"
  
      if os.path.isdir(dicionary_for_upload["model_zip_path"]):
          PushToHub.zip_directory(
              dicionary_for_upload["model_zip_path"],
              f"{dicionary_for_upload['model_zip_path']}.zip",
          )
          dicionary_for_upload["model_zip_path"] = (
              dicionary_for_upload["model_zip_path"] + ".zip"
          )
      return dicionary_for_upload
  
file_path: spark-nlp/python/sparknlp/upload_to_hub.py
imports: import requests
  import json
  from typing import List
  import sparknlp
  import os
  import zipfile
label_desc: Use image node_id 5 for calling the PushToHub obj's underlying member method code with example usage: obj.create_docs(dicionary_for_upload) and returns: dicionary_for_upload