Skip to content

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, huggingface and langchain.

License

manskx/photo-GPT-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is just a demo of using llm (GPT) with stable diffusion and huggingface.

If you like this project, please give it a star ⭐️ to continue the development.

photo-GPT-telegram

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.

How to use (tested with macos only)

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

example

photo_gpt.mp4

authors

  • @manskx and copilot

About

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, huggingface and langchain.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages