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>
Redesign frontend as Arabic-only شَمْل voice demo
Cursor Agent+1: AHAD
Unverified signature
88fe4cd
- Brand: شَمْل with dark elegant RTL UI
- Remove text/batch input; file upload and live microphone only
- MediaRecorder hook for direct speech input
- Arabic-only copy throughout
Co-authored-by: AHAD <ahad-m@users.noreply.github.com>
Add audio upload: Whisper ASR + diacritization pipeline
Cursor Agent+1: AHAD
Unverified signature
58edb24
- POST /diacritize/audio with multipart file upload and optional reference text
- Lazy-loaded AsrService using Diac Whisper model (sashat/whisper-medium-ClassicalAr)
- Frontend audio tab with transcript and diacritized output display
- Config: ASR_MODEL_NAME, ASR_DEVICE, MAX_AUDIO_MB; python-multipart dependency
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>