Spaces:
Runtime error
Runtime error
Commit
·
092ed29
1
Parent(s):
b092bf7
Update app.py
Browse files
app.py
CHANGED
@@ -51,6 +51,7 @@ def top_xx(preds, xx=95):
|
|
51 |
while total < xx / 100:
|
52 |
next_id = tops[0, index].item()
|
53 |
if next_id == 155:
|
|
|
54 |
continue
|
55 |
total += preds[0, next_id]
|
56 |
index += 1
|
|
|
51 |
while total < xx / 100:
|
52 |
next_id = tops[0, index].item()
|
53 |
if next_id == 155:
|
54 |
+
index += 1
|
55 |
continue
|
56 |
total += preds[0, next_id]
|
57 |
index += 1
|