| title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned |
|---|---|---|---|---|---|---|---|
PromptAid Vision |
🚀 |
blue |
red |
docker |
4.0.0 |
app.py |
false |
An AI-powered platform for crisis mapping and drone image analysis.
PromptAid Vision combines multiple AI vision models (GPT-4V, Gemini, Hugging Face) to analyze imagery for crisis response and humanitarian mapping. The platform provides automated image analysis, metadata extraction, and comprehensive reporting capabilities.
- Frontend: React + TypeScript with Tailwind CSS
- Backend: FastAPI + Python with PostgreSQL
- AI Models: Multi-model support with intelligent fallbacks
- Storage: Flexible local/S3 storage with image processing
- Testing: Unit, integration, and E2E test coverage
- Node.js 20+
- Python 3.11+
- PostgreSQL 16+
-
Backend
cd py_backend python -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -r requirements.txt alembic upgrade head uvicorn app.main:app --reload --port 7860
-
Frontend
cd frontend npm install npm run dev -
Access
- Application: http://localhost:5173
- API: http://localhost:7860
- Documentation: http://localhost:7860/docs
cd frontend && npm run build
cd py_backend && uvicorn app.main:app --host 0.0.0.0 --port 7860docker-compose up --buildAutomatically deployed via GitHub Actions workflow. Configure environment variables in Space settings.
DATABASE_URL=postgresql://user:password@localhost:5432/promptaid
STORAGE_PROVIDER=local # or s3
OPENAI_API_KEY=your-key
ANTHROPIC_API_KEY=your-key
GOOGLE_API_KEY=your-key
HUGGINGFACE_API_KEY=your-key# Backend
cd py_backend && python -m pytest tests/ -v
# Frontend
cd frontend && npm run test:unit
# E2E
cd e2e && ./run_e2e_tests.sh├── frontend/ # React frontend
├── py_backend/ # FastAPI backend
├── e2e/ # End-to-end tests
└── .github/workflows/ # CI/CD pipelines
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Submit a pull request
MIT License