This repo gives a basic framework for serving Stable Diffusion 1.5 in production using simple HTTP servers.
THIS MODEL HAS THE SAFETY CHECKER DISABLED
Deploy this model via the one-click template [here]((https://app.banana.dev/templates/djt/stable-diffusion-1.5).
You will also find the model inputs and outputs to help get you going.
Code snippets are visible at the bottom (more coming soon).
- Create huggingface account to get permission to download and run Stable Diffusion 1.5 text-to-image model.
- Accept terms and conditions for the use of Stable Diffusion 1.5
- After deploying the model on Banana, be sure to set the HF_AUTH_TOKEN build argument in the settings page of the model on Banana
Understand the 🍌 Serverless framework and functionality of each file within it.
Generalize this framework to deploy anything on Banana.