ginnyxxxxxxx commited on
Commit
774151b
·
1 Parent(s): 0450206
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -596,7 +596,7 @@ PROMPT_BULLETS = {
596
  "Synthesize factual features (Step 1) and behavioral patterns (Step 2) to infer household income bracket",
597
  "Score location economic indicators: luxury / mid-range / budget venue distribution",
598
  "Consider transportation mode signals, activity diversity, and temporal flexibility as income proxies",
599
- "Output: <code>INCOME_PREDICTION</code> — a single income range with confidence rating (1–5)",
600
  "Output: <code>INCOME_REASONING</code> — evidence-grounded justification referencing specific mobility observations",
601
  ],
602
  }
@@ -948,6 +948,7 @@ def build_agent_cards(selected_id):
948
  with gr.Blocks(title="HiCoTraj Demo") as app:
949
  gr.Markdown("## HiCoTraj — Trajectory Visualization & Hierarchical CoT Demo")
950
  gr.Markdown("*Zero-Shot Demographic Reasoning via Hierarchical Chain-of-Thought Prompting from Trajectory* · ACM SIGSPATIAL GeoGenAgent 2025")
 
951
  gr.Markdown("""
952
  **Dataset:** NUMOSIM[1]
953
  > [1]Stanford C, Adari S, Liao X, et al. *NUMoSim: A Synthetic Mobility Dataset with Anomaly Detection Benchmarks.* ACM SIGSPATIAL Workshop on Geospatial Anomaly Detection, 2024.
 
596
  "Synthesize factual features (Step 1) and behavioral patterns (Step 2) to infer household income bracket",
597
  "Score location economic indicators: luxury / mid-range / budget venue distribution",
598
  "Consider transportation mode signals, activity diversity, and temporal flexibility as income proxies",
599
+ "Output: <code>INCOME_PREDICTION</code> — a single income range",
600
  "Output: <code>INCOME_REASONING</code> — evidence-grounded justification referencing specific mobility observations",
601
  ],
602
  }
 
948
  with gr.Blocks(title="HiCoTraj Demo") as app:
949
  gr.Markdown("## HiCoTraj — Trajectory Visualization & Hierarchical CoT Demo")
950
  gr.Markdown("*Zero-Shot Demographic Reasoning via Hierarchical Chain-of-Thought Prompting from Trajectory* · ACM SIGSPATIAL GeoGenAgent 2025")
951
+ gr.HTML("<div style='display:inline-flex;align-items:center;gap:7px;background:#fffbe6;border:1px solid #f0d060;border-radius:8px;padding:6px 14px;font-size:12px;color:#7a6010;margin-bottom:4px;'>&#x1F4BB; <b>Best experienced on a laptop or desktop</b> &mdash; the side-by-side layout requires a wide screen.</div>")
952
  gr.Markdown("""
953
  **Dataset:** NUMOSIM[1]
954
  > [1]Stanford C, Adari S, Liao X, et al. *NUMoSim: A Synthetic Mobility Dataset with Anomaly Detection Benchmarks.* ACM SIGSPATIAL Workshop on Geospatial Anomaly Detection, 2024.