Spaces:
Running
Running
Commit ·
5900d1e
1
Parent(s): 3394ee5
fix(ui): remove undefined yearFilter from frontend api call
Browse files
frontend-next/app/page.tsx
CHANGED
|
@@ -296,8 +296,7 @@ export default function App() {
|
|
| 296 |
body: JSON.stringify({
|
| 297 |
question: originalQuery,
|
| 298 |
top_k: topK,
|
| 299 |
-
filter_category: category === "All" ? undefined : category
|
| 300 |
-
filter_year_gte: yearFilter ? yearFrom : undefined
|
| 301 |
})
|
| 302 |
});
|
| 303 |
|
|
|
|
| 296 |
body: JSON.stringify({
|
| 297 |
question: originalQuery,
|
| 298 |
top_k: topK,
|
| 299 |
+
filter_category: category === "All" ? undefined : category
|
|
|
|
| 300 |
})
|
| 301 |
});
|
| 302 |
|