Oneirocom / sd-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐ŸŒ Stable Diffusion 2.1 on Banana

This repo gives a basic framework for serving Stable Diffusion 2.1 in production using simple HTTP servers.

Quickstart

Deploy this model via the one-click template [here]((https://app.banana.dev/templates/djt/stable-diffusion-2.1).

You will also find the model inputs and outputs to help get you going.

Code snippets are visible at the bottom (more coming soon).

Additional Steps

  1. Create huggingface account to get permission to download and run Stable Diffusion 2.1 text-to-image model.
  1. 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

Helpful Links

Understand the ๐ŸŒ Serverless framework and functionality of each file within it.

Generalize this framework to deploy anything on Banana.

Use Banana for scale.

About

License:MIT License


Languages

Language:Python 97.7%Language:Dockerfile 2.3%