AQuA is a full-stack project for analyzing videos and answering user queries about their content. It includes a Flask backend, a React frontend, and a processing Pipeline for audio/video tasks.
Pipeline/: Video/audio processing scripts and data assetsReact_ver/flask_Backend/: Flask API for uploads, chat, and storageReact_ver/ReactFrontend/: React UI for interacting with the system
- Python 3.11+
- Node.js 18+
- PostgreSQL (for backend storage)
- Navigate to
React_ver/flask_Backend/and follow its README for:- Creating/activating a
venv - Installing Python dependencies
- Setting required environment variables (SendGrid, Gemini, GPT follow-up API)
- Initializing the database
- Creating/activating a
- Run:
python app.py(defaults tohttp://127.0.0.1:5000)
- Navigate to
React_ver/ReactFrontend/ - Install and run:
npm install
npm run dev- Open the URL printed by Vite (typically
http://localhost:5173)
- See
Pipeline/for scripts and sample data used during processing - Ensure any required model files or tokens are configured as noted in the pipeline scripts
Sensitive credentials are not hardcoded. Set them before running the backend; see React_ver/flask_Backend/README.md for the full list and examples.