raghavNCI
commited on
Commit
·
91cfd36
1
Parent(s):
38dc68b
real stupid spelling mistake
Browse files- routes/question.py +1 -1
routes/question.py
CHANGED
@@ -55,7 +55,7 @@ async def ask_question(input: QuestionInput):
|
|
55 |
print("Category:", REVERSE_MAP.get(qid, "unknown"))
|
56 |
|
57 |
# Special case: ID 13 → return cached headlines
|
58 |
-
if qid == "
|
59 |
date_str = datetime.datetime.utcnow().strftime("%Y-%m-%d")
|
60 |
categories = ["world", "india", "finance", "sports", "entertainment"]
|
61 |
all_headlines: List[Dict] = []
|
|
|
55 |
print("Category:", REVERSE_MAP.get(qid, "unknown"))
|
56 |
|
57 |
# Special case: ID 13 → return cached headlines
|
58 |
+
if qid == "asking_for_headlines":
|
59 |
date_str = datetime.datetime.utcnow().strftime("%Y-%m-%d")
|
60 |
categories = ["world", "india", "finance", "sports", "entertainment"]
|
61 |
all_headlines: List[Dict] = []
|