code: def start(self):
          
          if self.stream is None:
              from pyaudio import PyAudio, paInt16
              self.pa = PyAudio()
              self.stream = self.pa.open(
                  16000, 1, paInt16, True, frames_per_buffer=self.chunk_size
              )
  
          self._wrap_stream_read(self.stream)
  
          self.engine.start()
          self.running = True
          self.is_paused = False
          self.thread = Thread(target=self._handle_predictions)
          self.thread.daemon = True
          self.thread.start()
docs: Start listening from stream