stackConsult commited on
Commit
de05b98
·
verified ·
1 Parent(s): d26ce00

Fix indentation error on line 52 - remove leading spaces from consent_events_sample

Browse files

The consent_events_sample variable was accidentally indented inside the with gr.Blocks() block. This caused an IndentationError at runtime. Fixed by removing all leading spaces from line 52 so the variable is declared at module level as intended.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def audit_trail_widget(audit_history: List[Dict[str, Any]]):
49
  # Example usage in Gradio Blocks
50
  with gr.Blocks(title="StrategyStack UI") as demo:
51
  gr.Markdown("# Outreach Cadence & Compliance Dashboard")
52
- consent_events_sample = [
53
  {
54
  "contact_id": "LEAD_001",
55
  "event_type": "consent_given",
 
49
  # Example usage in Gradio Blocks
50
  with gr.Blocks(title="StrategyStack UI") as demo:
51
  gr.Markdown("# Outreach Cadence & Compliance Dashboard")
52
+ consent_events_sample = [
53
  {
54
  "contact_id": "LEAD_001",
55
  "event_type": "consent_given",