yolanother / SharedStableDiffusionBot

A simple bot for running stable diffusion via replicate. Users must enter their own replicate tokens with the /replicate command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SharedStableDiffusionBot

A simple bot for running stable diffusion via replicate. Users must enter their own replicate tokens with the /replicate command

Installation

  • pip install -r requirements.txt
  • Create a file named .env. This text file will be used to store secrets for your development environment. Paste in the following: DISCORD_TOKEN=<your-token>
  • Create a file called sdbot-config.json. This file will be used to store configuration for your bot. It should look like the following:
{
    "userdata": "path\\to\\sdbot-userdata.pkl"
}

References

Replicate Guide

About

A simple bot for running stable diffusion via replicate. Users must enter their own replicate tokens with the /replicate command

License:MIT License


Languages

Language:Python 100.0%Language:Batchfile 0.0%