This is a bot that uses a language model to generate emojis based on a given text or paragraph.
Example:
User prompt:@哈哈狗 I love you
哈哈狗回覆:I😎😎 love🥰🥰 you😎😎
- Add the bot as a friend on LINE: @255eanep
- Send a text or paragraph to the bot, with prefix or suffix
@哈哈狗
.
EX: "@哈哈狗 I love you" or "I love you @哈哈狗" - Add 哈哈狗 into groups if you want.
Configure the following environment variables or use a .env
file:
LINE_CHANNEL_SECRET
: LINE channel secretLINE_CHANNEL_ACCESS_TOKEN
: LINE channel access tokenHF_API_TOKEN_LIST
: Hugging Face API token list, separated by space
git clone https://github.com/pha123661/EmojiLmBot.git
docker build -t emoji-lm-line-bot .
Alternatively, you can pull the image directly from Docker Hub:
docker pull pha123661/emoji-lm-line-bot
docker run -p 8000:8000 --env-file .env -d --rm --name emoji-lm-line-bot emoji-lm-line-bot
docker stop emoji-lm-line-bot
# docker rm emoji-lm-line-bot