e9cf1e9b170d8b9804d3d6544044e135bd6dc391
Two issues: 1. CLAP model output needed .flatten() to produce a 1-D vector for pgvector. Without it, the nested array caused "expected ndim to be 1". 2. Worker now uses a fresh session per track instead of sharing one across a batch, preventing PendingRollbackError cascading from one failure to the next. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
haunt-fm
Personal music recommendation service — captures listening history, discovers similar tracks via Last.fm, embeds audio with CLAP, generates playlists
Description
Personal music recommendation service — captures listening history, discovers similar tracks via Last.fm, embeds audio with CLAP, generates playlists
Languages
Python
72.8%
HTML
26.5%
Mako
0.4%
Dockerfile
0.3%