Spaces:
Running
Running
Commit History
-
π¨ CRITICAL FIX: Resolve HF Spaces deployment issuesβ
Developerβ ISSUES FIXED: 1. Missing SentencePiece dependency causing TTS failures 2. App still attempting model downloads despite storage optimization 3. 503 errors instead of graceful fallback responses 4. Emergency download still triggering storage limit exceeded β COMPREHENSIVE SOLUTION: π§ **Dependencies Fixed:** - Added sentencepiece>=0.1.99 to requirements.txt - Fixed SpeechT5Tokenizer import errors π« **Model Download Prevention:** - Enhanced environment variable checks - Added hf_spaces_fix.py for forced compatibility mode - Graceful fallback instead of RuntimeError exceptions ποΈ **TTS-Only Mode Improvements:** - Returns 200 success responses instead of 503 errors - Clear messaging about HF Spaces storage limitations - Proper audio generation fallback paths π‘οΈ **Error Handling:** - No more 'emergency download' attempts in storage-optimized mode - Graceful degradation with user-friendly messages - Success responses even when video generation unavailable π **Files Updated:** - apβ¦8c74501