code: def generate_blog_sections(cursor: evadb.EvaDBCursor) -> List:
      """Generates logical sections of the blog post.
  
      Args:
          cursor (EVADBCursor): evadb api cursor.
  
      Returns
          List: list of blog sections
      """
      sections_query = (
          "list 7 logical sections of a blog post from the transcript as a"
          " python list"
      )
      sections_string = str(
          cursor.query(
              f"SELECT ChatGPT('{sections_query}', summary) FROM Summary;"
          ).df()["chatgpt.response"][0]
      )
      begin = sections_string.find("[")
      end = sections_string.find("]")
      assert begin != -1 and end != -1, "cannot infer blog sections."
  
      sections_string = sections_string[begin + 1 : end]
      sections_string = sections_string.replace("\n", "")
      sections_string = sections_string.replace("\t", "")
      sections_string = sections_string.replace('"', "")
  
      sections = sections_string.split(",")
      for i in range(len(sections)):
          sections[i] = sections[i].strip()
      print(sections)
      return sections
  
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 12 for calling a global function with example usage: generate_blog_sections(cursor) and returns: sections