code: def stream(message, history):
      for i in range(len(message)):
          yield message[: i + 1]
  
imports: import tempfile
  from concurrent.futures import wait
  from pathlib import Path
  from unittest.mock import patch
  import pytest
  import gradio
label_desc: Use image node_id 3 for calling a global function with example usage: stream(message, history) without return types