Spaces:
Sleeping
Sleeping
Commit History
-
fix: comprehensive CPU patches for ALL extractors (video + audio + text)
Igoni AgentVideo extractor dies on 'model.model.to(self.image.device)' where device=cuda. Audio extractor also defaults to cuda. Nuclear approach: 1. Patch HuggingFaceText._load_model (text/Llama) 2. Patch VideoFeature._load_model (video frames) 3. Patch AudioFeature._load_model (audio WAV) 4. Monkey-patch torch.nn.Module.to to redirect cuda->cpu globally This ensures NO extractor ever tries to move models to cuda on CPU Spaces.ac23582 -
bump rebuild label to force Docker cache invalidation
Igoni Agenta463c82 -
fix: use official TribeModel.get_events_dataframe() pipeline
Igoni AgentThe old code manually built dummy Visual events with timestamps only. The model never saw actual video frames -> identical predictions for all inputs. Now uses the official API: - model.get_events_dataframe(video_path=...) creates proper Video events - ExtractAudioFromVideo runs to get audio from video - ChunkEvents splits long clips - ExtractWordsFromAudio transcribes speech - Visual extractor actually reads and processes frames Also adds gTTS + langdetect for text-to-brain pipeline.10f1be9 -
Add /predict_raw endpoint - full prediction tensor output
Igoni Agent619ca35 -
Make video inference CPU-safe on Spaces
Igoni Agentd688be6 -
Make image inference CPU-safe
Igoni Agent9ce7593 -
Add Dockerfile for Docker-based deployment
Verified signature6d57837