2025-04-14 14:02:53 -07:00
2025-04-14 13:49:54 -07:00
2025-04-14 13:49:54 -07:00
2025-04-14 14:01:30 -07:00
2025-04-14 14:02:53 -07:00
2025-04-14 13:49:54 -07:00

memegraph

I previously did meme generation via Langchain in https://github.com/runyanjake/memechain. Here is the same project but written using Langgraph instead, since that seems to have superseded Langchain in recent time.

The main reason to make the switch is to explore multi-agent workflows, which hopefully we can apply to this project at some point.

Setup

Python

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python main.py
...
deactivate

Usage

Can specify prompt when calling script or will use default prompt.

python main.py 
python main.py --prompt "Generate an image for the 'Leonardo dicaprio cheers' meme with the text 'LANGGRAPH MEMES'."
Description
I previously did meme generation via Langchain in https://github.com/runyanjake/memechain. Here is the same project but written using Langgraph instead, since that seems to have superseded Langchain in recent time.
Readme 32 KiB
Languages
Python 100%