Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 2 KB

README.md

File metadata and controls

46 lines (39 loc) · 2 KB

TTI-Bot

Github Contributors GitHub issues Github Last Commit Github Repository Size GitHub Stars GitHub Forks GitHub Watch

Supported Python versions Imports Code style pre-commit Package Management

Description

Text To Image Discord Bot For AIN Dao.

Installation

  1. Build Docker Image
git clone https://github.com/ainize-team/TTI-Bot
cd TTI-Bot
docker build -t tti-bot .
  1. Run Docker Image
docker run -d --name tti-bot \
     -e BOT_TOKEN={discord_bot_token} \
     -e GUILD_ID={discord_guild_id} \
     -e ENDPOINT={diffusion_model_endpoint} \
     -e UPSCALE_ENDPOINT={upscale_model_endpoint} \
     tti-bot

Or, you can use the .env file to run as follows.

docker run -d --name tti-bot \
     --env-file {.env_file_path} \
     tti-bot

License

Licence