/prepost

Plan before you post.

Primary LanguagePythonMIT LicenseMIT

PrePost: Plan before you post.

Prepost Logo

Explore tips to shield your post from attackers, and exciting captions for your post! We leverage state-of-the-art models like GPT-5 to help you plan before you post.

Demo Video: YouTube

Main Features

  • Checks and flagging for possibly location-revealing clues in an uploaded image intended for Social media uploads
  • Suggestions for cool and targeted captions for the corresponding social media posts.

Set up

  • First, populate API keys (and an Ollama server URL for local testing, if required) into .env.example and then run cp .env.example .env. For more details, please refer to the AIML API Docs and OpenAI Docs.
  • Create a virtual environment and install the dependencies:
    virtualenv venv
    source venv/bin/activate
    pip install -r REQUIREMENTS.txt

Launching the app

cd streamlit_app/
streamlit run app.py

Submitted to the Co-Creating with GPT-5 hackathon. Project Page: Lablab.ai