Based on https://github.com/patrickvonplaten/controlnet_aux so go there for requirements etc also based on https://github.com/fofr/cog-controlnet-preprocessors Modifications to code made with help from LLM claude.ai and GPT4 (bing chat)
https://colab.research.google.com/drive/1uP4tfeZajmPw7aMI7Rnpux-HofY2wLnZ#scrollTo=asNLOn0uIC5o