Yatsuiii commited on
Commit
5ea6740
·
verified ·
1 Parent(s): fa70651

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -135,9 +135,8 @@ def run_gcn(file_path: str | None) -> tuple[str, str]:
135
  gcn_out += f"Consensus : {consensus}/4 site models\n\n"
136
  gcn_out += "Per-model breakdown:\n"
137
  for site, p in per_model:
138
- bar = "" * int(p * 20) + "" * (20 - int(p * 20))
139
- lbl = "ASD" if p > 0.5 else "TC "
140
- gcn_out += f" {site:>4} {lbl} {bar} {p:.3f}\n"
141
 
142
  asd_features = [
143
  "Reduced DMN coherence (mPFC ↔ PCC)",
 
135
  gcn_out += f"Consensus : {consensus}/4 site models\n\n"
136
  gcn_out += "Per-model breakdown:\n"
137
  for site, p in per_model:
138
+ lbl = "ASD" if p > 0.5 else "TC"
139
+ gcn_out += f" {site:<6} {lbl:<3} p={p:.3f}\n"
 
140
 
141
  asd_features = [
142
  "Reduced DMN coherence (mPFC ↔ PCC)",