Skip to content

Shinabel/Cap.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uploading a photo to your favorite social media platform is always a struggle when you can't think of the perfect caption. With cap.py, never worry again that your caption is holding back your image from getting the attention it deserves.

Start by choosing the picture you want to caption. After uploading, your image will be paired with one of the generated captions. If you think that the first one doesn't fit your needs, you can regenerate another caption.

View a live demo here!

Instructions to run the app locally

virtualenv --no-site-packages --distribute .venv && source .venv/bin/activate && pip install -r requirements.txt
export FLASK_APP="main.py"
flask run

If you run into errors:

Set Credentials:

export GOOGLE_APPLICATION_CREDENTIALS=apikey.json

Install required :

sudo pip install google-cloud==0.27

Install BeautifulSoup:

sudo pip install bs4

Install Giphy:

sudo pip install giphy_client

Contributors

Team Manager: Brandon Yip
Front-end: Caitlin Wang
Back-end: Abel Shin, Elizabeth Cho
Full-stack: Daniel Chen
Logo: Abby Ko

Special thanks to:

Alice Mo, Jeff Chan, Austin Kim, Duk Hwan Kim ✨🐶