kappai commited on
Commit
8587f3f
Β·
verified Β·
1 Parent(s): bdc0601

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -599,7 +599,7 @@ def get_questions_and_micro(
599
  if q:
600
  seen_set.add(q)
601
 
602
- payload = {
603
  "category": category_key,
604
  "language": lang,
605
  "questions": questions,
@@ -609,13 +609,13 @@ def get_questions_and_micro(
609
  "safety_notes": safety_notes,
610
  }
611
 
612
- # If you ever need the payload again, you can use it here;
613
- # for the UI we only return questions + micro + updated seen.
614
  return {
615
- "questions": questions,
616
- "micro_actions": micro,
617
- "seen": list(seen_set),
618
- }
619
 
620
 
621
  # ────────────────────────────────────────────────────────────────────────────────
 
599
  if q:
600
  seen_set.add(q)
601
 
602
+ payload = {
603
  "category": category_key,
604
  "language": lang,
605
  "questions": questions,
 
609
  "safety_notes": safety_notes,
610
  }
611
 
612
+ # If you ever need the payload again, you can use it here;
613
+ # for the UI we only return questions + micro + updated seen.
614
  return {
615
+ "questions": questions,
616
+ "micro_actions": micro,
617
+ "seen": list(seen_set),
618
+ }
619
 
620
 
621
  # ────────────────────────────────────────────────────────────────────────────────