Spaces:
Sleeping
Sleeping
Fix indentation error on line 52 - remove leading spaces from consent_events_sample
Browse filesThe 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.
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 |
-
|
| 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",
|