code: def empty_model_dir():
      temp_path = tempfile.mkdtemp()
      yield temp_path
      if os.path.exists(temp_path):
          shutil.rmtree(temp_path)
  
file_path: rasa/tests/nlu/test_utils.py
imports: import os
  import pickle
  import pytest
  import tempfile
  import shutil
  from typing import Text
  import rasa.shared.nlu.training_data.message
  import rasa.shared.utils.io
  from rasa.nlu import utils
label_desc: Use image node_id 1 for calling a global function with example usage: empty_model_dir() without return types