Spaces:
Sleeping
Sleeping
Quick Start Guide
π Get Running in 3 Minutes
1. Install Dependencies
cd participatory_planner
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
2. Configure
cp .env.example .env
# Edit .env and set FLASK_SECRET_KEY to any random string
3. Run
python run.py
Visit http://localhost:5000
π First Login
- Default admin token:
<your-admin-token-from-startup> - Login and start managing your participatory planning session!
π€ AI Model Info
- Completely FREE - No API keys needed!
- Offline - Runs locally after initial download
- First run: Downloads model (~1.5GB) - this happens once
- After that: Instant offline classification
π― Basic Workflow
- Admin β Share registration link with participants
- Participants β Generate tokens, login, submit ideas
- Admin β Click "Analyze Submissions" to categorize
- Admin β View analytics, charts, and maps
- Export β Save as JSON or CSV
π‘ Key Features
β Token-based authentication β 6 contributor types (Government, Community, Industry, NGO, Academic, Other) β AI categorization (Vision, Problem, Objectives, Directives, Values, Actions) β Geographic mapping with Leaflet β Charts and analytics β Export/Import sessions β Flag offensive content
π§ Troubleshooting
Model download slow?
- It's a one-time 1.5GB download
- Use good internet connection for first run
- Model is cached locally afterward
Out of memory?
- Model needs ~2-4GB RAM
- Close other applications during analysis
Want faster analysis?
- If you have a GPU, edit
app/analyzer.pyline 31:device=0 # Use GPU instead of device=-1 (CPU)
Enjoy your participatory planning session! π