code: def test_lda():
      """Trains a LDA model and tests the html outputs."""
      corpus, dictionary = get_corpus_dictionary()
      lda = LdaModel(corpus=corpus, num_topics=2)
  
      data = gensim_models.prepare(lda, corpus, dictionary)
      pyLDAvis.save_html(data, "index_lda.html")
      os.remove("index_lda.html")
  
file_path: pyLDAvis/tests/pyLDAvis/test_gensim_models.py
imports: import os
  from gensim.models import LdaModel, HdpModel
  from gensim.corpora.dictionary import Dictionary
  import pyLDAvis
  import pyLDAvis.gensim_models
label_desc: Use image node_id 2 for calling a global function with example usage: test_lda() without return types