mirror of
https://github.com/runyanjake/memegraph.git
synced 2025-10-04 06:57:30 -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.
Languages
Python
100%