sort
Browse files- app/templates/index.html +1 -0
app/templates/index.html
CHANGED
|
@@ -159,6 +159,7 @@
|
|
| 159 |
|
| 160 |
for (const cls of CLASS_ORDER) {
|
| 161 |
const items = grouped[cls].sort((a, b) => parseFloat(b.confidence) - parseFloat(a.confidence));
|
|
|
|
| 162 |
if (items.length > 0) {
|
| 163 |
const section = document.createElement("section");
|
| 164 |
const heading = document.createElement("h3");
|
|
|
|
| 159 |
|
| 160 |
for (const cls of CLASS_ORDER) {
|
| 161 |
const items = grouped[cls].sort((a, b) => parseFloat(b.confidence) - parseFloat(a.confidence));
|
| 162 |
+
|
| 163 |
if (items.length > 0) {
|
| 164 |
const section = document.createElement("section");
|
| 165 |
const heading = document.createElement("h3");
|