code: def _find_text_in_file(
      filename: str, start_prompt: str, end_prompt: str
  ) -> str:
      """
      Find the text in filename between two prompts.
  
      Args:
          filename (`str`): The file to search into.
          start_prompt (`str`): A string to look for at the start of the content searched.
          end_prompt (`str`): A string that will mark the end of the content to look for.
  
      Returns:
          `str`: The content between the prompts.
      """
      with open(filename, "r", encoding="utf-8", newline="\n") as f:
          lines = f.readlines()
      # Find the start prompt.
      start_index = 0
      while not lines[start_index].startswith(start_prompt):
          start_index += 1
      start_index += 1
  
      # Now go until the end prompt.
      end_index = start_index
      while not lines[end_index].startswith(end_prompt):
          end_index += 1
      end_index -= 1
  
      while len(lines[start_index]) <= 1:
          start_index += 1
      while len(lines[end_index]) <= 1:
          end_index -= 1
      end_index += 1
      return (
          "".join(lines[start_index:end_index]),
          start_index,
          end_index,
          lines,
      )
  
imports: import argparse
  import os
  from transformers.utils import direct_transformers_import
label_desc: Use image node_id 1 for calling a global function with example usage: _find_text_in_file(filename, start_prompt, end_prompt) and returns: str,  start_index,  end_index,  lines