Skip to content

Bot providing text2image generation by HuggingFace Inference API calls

License

Notifications You must be signed in to change notification settings

Ailurus1/text2image-bot

Repository files navigation

Text2image-bot

The simpliest possible implementation of telegram bot using python-telegram-bot and HuggingFace Inference API

How to run

First of all you have to generate token with Telegram BotFather and user access token from HuggingFace. After you successfully create it you can just put them to local .env file and then just run docker build and run:

docker build -t text2image-bot:latest .

docker run --env-file=.env -it text2image-bot:latest

About

Bot providing text2image generation by HuggingFace Inference API calls

Topics

Resources

License

Stars

Watchers

Forks