repo_description: A simple standalone viewer for reading prompts from Stable Diffusion generated image outside the webui.
repo_topics: ai image-generation macos prompt-engineering prompt-toolkit python stable-diffusion stable-diffusion-webui tkinter windows
code: from sd_prompt_reader.app import main
  from sd_prompt_reader.cli import cli
  import sys
  
  
  def is_console():
      return False if sys.stdin is None else sys.stdin.isatty()
  
  
  if __name__ == "__main__":
      if is_console():
          cli()
      else:
          main()
  