This project implements Neural Algorithm of Artistic Style using pytorch framework according to this guide and wraps it into telegram bot. The algorithm takes two images and generates a new image with content like the first image and style like the second.
There are several examples of how the algorithm works.
Content Image | Style Image | Result |
---|---|---|
- docker engine / docker desktop
- git
- In terminal write: git clone https://github.com/stapin/style-transfer-bot.git
- Change TG_BOT_TOKEN env variable in Dockerfile to your telegram bot token gotten form BotFather
- Run in the root of the project this commands:
- docker build -t style_transfer_app .
- docker run --rm -d style_transfer_app
coming soon...