|
|
--- |
|
|
title: Aicher — Visual Causal Tutor |
|
|
emoji: 🧭 |
|
|
colorFrom: indigo |
|
|
colorTo: blue |
|
|
sdk: gradio |
|
|
sdk_version: "5.49.1" |
|
|
app_file: app.py |
|
|
pinned: true |
|
|
license: mit |
|
|
--- |
|
|
|
|
|
# Aicher (MVP) – Visual Causal Tutor |
|
|
|
|
|
Tri-panel MVP for causal tutoring on conditional probability. |
|
|
Left: input & reasoning. Center: reasoning graph. Right: diagnosis + minimal fix. |
|
|
|
|
|
## Run locally |
|
|
```bash |
|
|
pip install -r requirements.txt |
|
|
python app.py |
|
|
``` |
|
|
|
|
|
### Notes |
|
|
|
|
|
- Works offline via rules. Optional tiny model: `TinyLlama/TinyLlama-1.1B-Chat-v1.0` (CPU). |
|
|
- Extend `compute_reasoning` and `make_graph_image` for other domains (code AST checks, physics constraints). |
|
|
|