code: def partition_summary(prev_summary: str):
      """Summarize a summary if a summary is too large.
  
      Args:
          prev_summary (str): previous summary that is too large.
  
      Returns:
          List: a list of partitioned summary
      """
      k = 2
      while True:
          if (len(prev_summary) / k) <= MAX_CHUNK_SIZE:
              break
          else:
              k += 1
      chunk_size = int(len(prev_summary) / k)
  
      new_summary = [
          {"summary": prev_summary[i : i + chunk_size]}
          for i in range(0, len(prev_summary), chunk_size)
      ]
      if len(new_summary[-1]["summary"]) < 30:
          new_summary.pop()
      return new_summary
  
imports: import os
  import shutil
  from typing import Dict, List
  import pandas
  import evadb
  from pytube import YouTube, extract
  from youtube_transcript_api import YouTubeTranscriptApi
label_desc: Use image node_id 4 for calling a global function with example usage: partition_summary(prev_summary) and returns: new_summary