replicate / discord-bot-tutorial-code

https://replicate.com/blog/build-a-robot-artist-for-your-discord-server-with-stable-diffusion
Apache License 2.0
64 stars 35 forks source link

Locally? #7

Open TWIISTED-STUDIOS opened 2 years ago

TWIISTED-STUDIOS commented 2 years ago

Can this be ran using local hardware instead of deployed into the cloud

devout1337 commented 2 years ago

yeah bro of course

  1. dl code and extract to a folder (ex: discord_bot)
  2. open visual studio and select folder discord_bot
  3. change replicate api key and discord api key to your own and save file
  4. open the terminal in visual studio and type: pip install -r requirements.txt
  5. after successful download type: py bot.py then your bot should come online. fairly simple process