is a telegram bot based on large language models (GPT-3) for image tasks like creating image, captioning, editing and general conversation like chatting about images based on stable diffusion and huggingface and langchain.
1- create a telegram bot using @BotFather and get the token in env variable TELEGRAM_BOT_TOKEN
2- Get OpenAI API key and put it in env variable OPENAI_API_KEY
or Cohere API key and put it in env variable COHERE_API_KEY
3- bash git clone https://github.com/manskx/photo-GPT-telegram.git cd photo-GPT-telegram python -m venv venv source venv/bin/activate python -m pip install -r requirements.txt
4- bash export PYTHONPATH=$PWD cd photo_gpt python main.py
5- send /start
to your bot in telegram
photo_gpt.mp4
- @manskx and copilot