code: def download_prompt(
      iso_code: str,
      message: str,
      model_url: str,
      interactive: bool = True,
      silent: bool = False,
  ):
      """Ask user whether to download files.
  
      TODO: Make ft and stanza use this fn. Consider moving to other module.
      """
      fetch_corpus = FetchCorpus(language=iso_code)
      if not interactive:
          if not silent:
              print(message)
          fetch_corpus.import_corpus(
              corpus_name=f"{iso_code}_models_cltk"
          )
          # get_file_with_progress_bar(model_url=model_url, file_path=self.fp_zip)
      else:
          print(message)
          dl_is_allowed = query_yes_no(
              f"Do you want to download '{model_url}' to '~/cltk_data/{iso_code}'?"
          )  # type: bool
          if dl_is_allowed:
              fetch_corpus.import_corpus(
                  corpus_name=f"{iso_code}_models_cltk"
              )
              # get_file_with_progress_bar(model_url=model_url, file_path=self.fp_zip)
          else:
              raise CLTKException(
                  f"Download of necessary model declined for '{iso_code}'. Following functions will likely fail."
              )
  
file_path: cltk/src/cltk/ner/spacy_ner.py
imports: import logging
  import os
  from typing import List, Union
  import spacy
  from spacy.tokens import Doc, Token
  from spacy.util import DummyTokenizer
  from cltk.core.exceptions import CLTKException
  from cltk.data.fetch import FetchCorpus
  from cltk.utils.utils import file_exists, query_yes_no
label_desc: Use image node_id 1 for calling a global function with example usage: download_prompt(iso_code, message, model_url, interactive, silent) without return types