How rewire-neurotech/chills-tv works
ReWire ML App is a FastAPI application for personalized emotional-stimulus recommendations, with account and community features alongside its ML workflow. The documented core path is questionnaire answers through saved preprocessing and ONNX inference to ranked stimuli, presented in an HTML interface and logged. Sampled routes also show account, video, contribution, and data-export behavior backed by authentication and persistence. The broader feature inventory is based on the README and sampled excerpts; unsampled route wiring is not inferred.
Main entry points: app.py FastAPI application · db.py Application persistence · index.html Questionnaire · preprocessor_minimal.joblib Feature preprocessing
Components 14
Recommendation flow
- Questionnaire
templates/index.html - Feature preprocessing
preprocessor_minimal.joblib - ONNX inference
final_global_mlp.onnx - Stimulus ranking
app.py - Stimulus catalog
stimuli_mapping.json
Web experience
- Recommendations UI
templates/unified.html - FastAPI application
app.py
Identity and data
- Prediction logs
logs.csv - Authentication
auth.py - Application persistence
db.py - Account features
app.py
Community features
- Send and Duo
db.py - Video and contributions
app.py
Other components
- Visitor
Connections 15
- Visitor → Questionnaire: answers
README.md - Questionnaire → FastAPI application: submits answers
README.md - FastAPI application → Feature preprocessing: transforms features
README.md - Feature preprocessing → ONNX inference: prepared inputs
README.md - ONNX inference → Stimulus ranking: scores stimuli
README.md - Stimulus ranking → Stimulus catalog: maps stimuli
README.md - FastAPI application → Recommendations UI: renders
app.py - FastAPI application → Prediction logs: logs predictions
README.md - FastAPI application → Authentication: uses authentication
app.py - Authentication → Application persistence: reads and writes
auth.py - FastAPI application → Application persistence: records events
app.py - FastAPI application → Account features: serves account actions
app.py - FastAPI application → Send and Duo: supports
app.py - FastAPI application → Video and contributions: serves video actions
app.py - Video and contributions → Application persistence: records watches
app.py