Spaces:
Running on Zero
Running on Zero
Commit History
16 days ago
-
deploy qua@5e1be6a7
Verified signaturebc49622 -
deploy qua@116bdfa7
Verified signature134a1be
-
deploy qua@32f334a1
Verified signature3d6ae90
-
deploy
Verified signature35d8fb6
-
deploy
Verified signature472bb49
-
deploy
Verified signature7c22a8c
-
deploy
Verified signatureb16ba99
-
deploy
Verified signature83d7598
-
deploy
Verified signaturebccf709 -
deploy
Verified signature65537e2
-
deploy
Verified signatureae2ee00 -
Upload folder using huggingface_hub
Verified signature419fe6e
-
Upload folder using huggingface_hub
Verified signaturefdbb877 -
Upload folder using huggingface_hub
Verified signature4a0777e
-
Upload folder using huggingface_hub
Verified signatured46a954
-
Upload folder using huggingface_hub
Verified signature3955329
-
Upload folder using huggingface_hub
Verified signature602b5d3
-
feat: add /process_url_session API endpoint for URL-based alignment
Verified signaturee67922d -
fix: cache audio in-process dict to avoid Gradio State deep-copy OOM
Verified signature7ac4996
-
docs: update timestamps API
28af18f
-
Update API doc
3f29284 -
Update walltime estimation
7fc82ea
-
Usage logging V2: grouped JSON schema, endpoint tracking, GPU profiling
Migrate from 40+ flat columns to 20 columns (10 flat + 7 JSON + 3 output). Related fields grouped into JSON columns: settings (segmentation params + model/device), profiling (12 timing fields), gpu (VRAM stats), results_summary (quality metrics + retry stats), reciter_stats, and results_detailed (per-run segment arrays). New endpoint field tracks request source (ui/process/resegment/retranscribe/realign). User ID now hashes IP only. Dataset repo changed to hetchyy/quran-aligner-logs-v2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>79be82c -
Simplify client API docs and rename endpoints
Rewrite client_api.md descriptions to be less technical (remove internal details like storage formats, VAD/ASR jargon). Rename API endpoints: resegment_session → resegment, retranscribe_session → retranscribe, mfa_timestamps_session → timestamps, mfa_timestamps_direct → timestamps_direct. Update function names, event wiring, and api.md to match. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>84de10e
-
Round estimated duration up to nearest 5s instead of down
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>16a9d02 -
Fix progress bar by replacing img onerror with MutationObserver elapsed counter
The img onerror JS trick failed in Gradio's Svelte context because getElementById couldn't find sibling elements at fire time. Replaced with a data-ppb-duration attribute read by a MutationObserver installed at page load, which starts a 0.1s interval timer showing "Xs / Ys". Also rounds estimated duration down to nearest 5s instead of up. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>35c5215 -
Add estimate duration API
058f17e
-
Replace midpoint split with MFA-based splitting for combined/fused segments
Combined Isti'adha+Basmala segments are no longer split at an arbitrary audio midpoint. Instead, a post-processing step calls the MFA Space to get word-level timestamps and finds accurate split boundaries. Fused Basmala+verse and Isti'adha+verse segments are also split into separate segments. The combined "Isti'adha+Basmala" type is removed from output, rendering, API, and docs — only separate Isti'adha and Basmala segments appear in results. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>d32ed8d
-
Update timestamps API
0d6804f -
Add timestamps API endpoints
2ce56b1 -
Eliminate in-decorator CPU fallback to prevent CUDA state poisoning
Move GPU quota retry from gpu_with_fallback() decorator to UI/API callers. The decorator now raises QuotaExhaustedError instead of running torch code after a failed GPU lease, which was corrupting CUDA state for subsequent users via the spaces package's global TorchFunctionMode patches. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>7711775
-
Add special_type to JSON/API responses and hide animate button for transitions
- Pipeline JSON output now includes special_type field for special segments (Amin, Takbir, Tahmeed, Basmala, etc.) with empty ref_from/ref_to - Session API forwards special_type to clients - Animate button hidden for transition segments (no word spans for MFA) while Basmala/Isti'adha retain it Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>48bbc75
-
Fix client API docs/impl consistency and add GPU fallback warning
- Fix audio_id format in docs (32-char hex, not dashed UUID) - Fix retranscribe guard docs to match impl (only model_name matters) - Document all error responses in new Error Responses section - Fix confidence decimal places in examples to match impl (3 dp) - Add "warning" field to API responses on GPU→CPU fallback - Expand test coverage: field types, workflows, error cases Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>809b0b5 -
Fix session persistence: pickle VAD artifacts to preserve tensor types
clean_speech_intervals() expects the original torch.Tensor types from VAD output. The previous np.save/np.load roundtrip converted them to numpy arrays, causing resegment_session to crash. Now uses pickle for speech_intervals and is_complete, keeping np.save only for audio. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>d640378 -
Forward gr.Request to pipeline functions in session API endpoints
Enables usage logging with proper user ID hashing from HF headers for all session-based API calls. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>61e842f -
Add session-based API endpoints for stateless client access
Implement 4 endpoints (process_audio_session, resegment_session, retranscribe_session, realign_from_timestamps) that persist session data to /tmp/aligner_sessions so gradio_client consumers can reuse cached audio and VAD results across follow-up calls without gr.State. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>6cdb091