punnypix / README.md
flobbit's picture
Update README.md
dc74dec
|
raw
history blame
1.31 kB
metadata
title: PunnyPix
emoji: 🏒
colorFrom: yellow
colorTo: indigo
sdk: gradio
sdk_version: 3.37.0
app_file: app.py
pinned: false

πŸ“· PunnyPix πŸ“Έ

πŸ“· Generate "funny" photo captions from images πŸ“Έ

text

Select a photo, wait for the caption to appear, edit the caption as needed, and hit submit to generate a "funny" photo caption. Several sample photos are provided for convenience.

Running

Note: for now, the huggingface version uses free OpenAI credits, so it is rate limited, and sometimes takes forever to return a response. So, you are advised to enter your API key to avoid delays.

About

Uses Langchain, Hugging Face transformers, OpenAI, Python.

Limitations

This app is provided for entertainment purposes only. Sometimes the image to caption process doesn't produce a correct caption, so edit as needed. Sometimes the "funny" caption isn't so funny, but what can you expect for free? πŸ˜„

Credits

A piece of the chat portion of the system comes from https://github.com/hwchase17/langchain-gradio-template with changes for this particular use case, and changes in langchain.