code: def _print_instructions():
      """Prints instructions for interaction based on the flag values."""
      print("")
      print("Instructions:")
      print("Start playing  when you want to begin the call phrase.")
      if FLAGS.end_call_control_number is not None:
          print(
              "When you want to end the call phrase, signal control number %d "
              "with value 127, or stop playing and wait one clock tick."
              % FLAGS.end_call_control_number
          )
      else:
          print(
              "When you want to end the call phrase, stop playing and wait one "
              "clock tick."
          )
      print(
          "Once the response completes, the interface will wait for you to "
          "begin playing again to start a new call phrase."
      )
      print("")
      print("To end the interaction, press CTRL-C.")
  
imports: import functools
  import re
  import threading
  import time
  from magenta.interfaces.midi import midi_hub
  from magenta.interfaces.midi import midi_interaction
  from magenta.models.drums_rnn import drums_rnn_sequence_generator
  from magenta.models.melody_rnn import melody_rnn_sequence_generator
  from magenta.models.performance_rnn import performance_sequence_generator
  from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_sequence_generator
  from magenta.models.polyphony_rnn import polyphony_sequence_generator
  from magenta.models.shared import sequence_generator_bundle
  import six
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling a global function with example usage: _print_instructions() without return types