🍌 Banana Serverless
This repo gives a basic framework for serving Stable Diffusion in production using simple HTTP servers.
Instant Deploy
Stable Diffusion is now available as a prebult model on Banana! See how to deploy Stable Diffusion in seconds.
Quickstart
If you want to customize beyond the prebuilt model:
Follow the quickstart guide in Banana's documentation to use this repo.
(choose "GitHub Repository" deployment method)
Additional Steps (outside of quickstart guide)
- Create your own private repo and copy the files from this template repo into it. You'll want a private repo so that your huggingface keys are secure.
- Create huggingface account to get permission to download and run Stable Diffusion text-to-image model.
- Accept terms and conditions for the use of the v1-4 Stable Diffusion
- Edit the
dockerfile
in your forked repo withENV HF_AUTH_TOKEN=your_auth_token
Helpful Links
Understand the
Generalize this framework to deploy anything on Banana.