Text To Image Discord Bot For AIN Dao.
- Build Docker Image
git clone https://github.com/ainize-team/TTI-Bot
cd TTI-Bot
docker build -t tti-bot .
- 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