Spaces:
Sleeping
Sleeping
Commit History
-
Replace libgl1-mesa-glx with libgl1 (Debian trixie rename)
siddhant-rajhans83bd504 -
Add HuggingFace Space YAML config to README front matter
siddhant-rajhansc2b744f -
Add HuggingFace LFS .gitattributes for parity with Space remote
siddhant-rajhans6fb57d5 -
TRIBE-style landing redesign with black/white theme toggle
siddhant-rajhansRebuild the home page to match the Meta TRIBE v2 aidemos layout: branded top header with theme toggle, two-column hero (architecture steps + pipeline diagram on the left, interactive demo card on the right), stats bar, and a polished four-column footer. * New tribe.py module with top_header, architecture_steps, pipeline_diagram, segmented, demo_card_open/close, and tr_footer. * Theme system reworked into base theme.css plus theme_black.css and theme_white.css overlays driven by session state. Toggle navigates via ?theme=<mode> query param so the swap is one click. * feature_card_link uses span children inside the anchor so the bleach sanitizer no longer hoists block elements out of the link, fixing the feature card grid. * Segmented control inputs now use the sr-only pattern instead of display:none so BaseWeb radio onChange fires on click. Eye Open/Close, True/Compare/Predicted, and Normal/Inflated all visibly drive the 3D brain again. * hot-on-cortex colormap so the c…25b3b03
-
Update README with full feature list, live inference docs, deployment guide
siddhant-rajhans51415ee -
Add live brain prediction mode (webcam, screen capture, video file)
siddhant-rajhansNew page: 6_Live_Inference.py - Real-time brain activation from webcam, screen capture, or uploaded video - 3D brain visualization updating live with Inferno colormap - Rolling cognitive load timeline (Visual/Auditory/Language/Executive) - Glowing metric cards updating every prediction - Start/Stop controls with FPS and latency indicators - Status bar showing mode (simulation/cortexlab), FPS, prediction count - Predictions stored in session state for use in all other analysis pages - Simulation mode works without CortexLab (predictions from image statistics) - Real mode uses TRIBE v2 when CortexLab + GPU available New utilities: - live_capture.py: WebcamCapture (OpenCV), ScreenCapture (mss), FileStreamer - All run in background threads, yield MediaFrame objects - Configurable FPS, thread-safe buffer - live_engine.py: LiveInferenceEngine - Background thread consuming frames and producing predictions - Dual mode: CortexLab real inference or simulation fallback - Computes cogni…ab204cc -
Fix Cognitive Load fillcolor crash, pre-select Visual ROIs in Brain Viewer
siddhant-rajhans- Fix hex-to-rgba conversion for confidence band fill colors (was producing invalid color strings like 'rgba(00D2FF' instead of 'rgba(0,210,255,0.15)') - Pre-select Visual region group in Brain Viewer so ROI highlighting is visible on first load4f96c68 -
Complete dashboard redesign: futuristic glassmorphism UI
siddhant-rajhansTheme overhaul: - Custom CSS with glassmorphism, neon accents, animated glow borders - Dark space background with purple/blue/cyan radial gradients - Hidden Streamlit branding (toolbar, footer, header) - Custom scrollbar, hover animations, gradient headings - Glassmorphic containers with backdrop blur - Glowing metric cards with color-coded accents Home page redesign: - 3D brain hero (rotatable Plotly mesh3d with Inferno colormap) - Gradient title with GitHub/HuggingFace/Demo link badges - 5 glowing stat cards (tests, modules, ROIs, contributors, license) - 6 feature cards in 2x3 grid with colored borders - Collapsed data configuration section All pages now use futuristic theme via inject_theme()8643122 -
Add interactive 3D Brain Viewer page
siddhant-rajhansNew page: 5_Brain_Viewer.py - Publication-quality 4-panel views (lateral L, lateral R, medial, dorsal) - Interactive rotatable 3D brain (PyVista/stpyvista with Plotly fallback) - Modality-specific activation patterns (visual/auditory/language/multimodal) - ROI highlighting with 1.8x boost for selected regions - Sulcal depth blending for anatomical context - ROI summary table with per-region statistics - Vertex activation histogram with ROI overlays - 7 camera presets, 6 colormaps, data upload support - Dark background with smooth lighting for sci-fi aesthetic New utility: brain_mesh.py - fsaverage mesh loading via nilearn (cached) - Sulcal depth map for anatomical background - Sample activation generation with modality-specific ROI weights - Publication multi-view rendering (Plotly subplots) - Interactive 3D rendering (PyVista with Plotly fallback) Updated: Dockerfile (added xvfb, libgl), requirements.txt (nilearn, pyvista, stpyvista)510957a
-
Add Dockerfile and app.py for HuggingFace Spaces deployment
siddhant-rajhans21d9b75
-
Dashboard v2: research-grade rebuild
siddhant-rajhansBiologically realistic synthetic data: - HRF convolution with canonical double-gamma response - Modality-specific ROI activation weights (visual/auditory/language/multimodal) - Spatial smoothing, AR(1) temporal noise, scanner drift - Controllable alignment strength for meaningful benchmark scores Shared session state: - Cross-page ROI carry (alignment -> temporal dynamics -> connectivity) - File upload (.npy) and download (CSV, JSON) support - Analysis log tracking across pages - Data source selector (synthetic vs uploaded) Brain Alignment (rebuilt): - Bootstrap CI error bars on all scores - Null distribution histograms with observed score overlay - RDM visualization (brain vs model side-by-side) - FDR correction for per-ROI tests - Noise ceiling estimation (split-half reliability) - Methodology documentation with references Cognitive Load (rebuilt): - Confidence bands on timeline (bootstrap across vertices) - Dimension correlation heatmap - Per-ROI activation breakdown within each …9b23ae9
-
Initial CortexLab Dashboard - interactive analysis toolkit
siddhant-rajhansStreamlit multipage app with 4 analysis pages: - Brain Alignment Benchmark: compare AI models with RSA/CKA/Procrustes + permutation tests - Cognitive Load Scorer: timeline, radar chart, dimension breakdown with content profiles - Temporal Dynamics: peak latency, lag correlation, sustained/transient decomposition - ROI Connectivity: correlation heatmap, network clustering, degree centrality, graph viz Runs on synthetic data by default - no GPU or fMRI data required.bce4bae