Add editable transcription workflow and Supabase save
Cursor Agent+1: AHAD
Unverified signature
536f592
- POST /transcribe/audio for ASR-only step
- Extend POST /diacritize with optional asr_text for text+ASR path
- POST /records/save uploads audio to Supabase Storage and inserts DB row
- Frontend: transcribe → editable textarea → diacritize → save button
- docs/supabase_schema.sql and .env.example Supabase vars
Co-authored-by: AHAD <ahad-m@users.noreply.github.com>
Add Diac API backend, Arabic RTL frontend, Docker, and docs
Cursor Agent+1: AHAD
Unverified signature
0b083c6
- Refactor FastAPI into backend/ with model service, Pydantic schemas, and env-based config
- Align API responses with diacritized field and X-API-Key auth (API_KEY env)
- Add local CLI script (backend/scripts/run_local.py) for single and batch inference
- Add React+Vite+Tailwind Arabic RTL demo frontend
- Add docker-compose for backend and frontend, .env.example, and Arabic README
- Document project structure and preserve compatibility via app/main.py shim
Co-authored-by: AHAD <ahad-m@users.noreply.github.com>