Adds a backend global var and constants for setting the backend type
backend is determined by endpoint GET at startup
auth and model names are backend-dependent
This PR is NOT ready yet. There are several SD.Next specific features in my own branch I want to pull in. But I wanted to get it out in the open in case anyone else using SD.Next wanted to give it a try and provide feedback.
Originally based on https://github.com/hdtv35/aiyabot but with my own modifications so both backends can work
backend
global var and constants for setting the backend typeThis PR is NOT ready yet.There are several SD.Next specific features in my own branch I want to pull in. But I wanted to get it out in the open in case anyone else using SD.Next wanted to give it a try and provide feedback.