Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,7 @@ The code within this section will be used in the tasks. Please do not change the
|
|
14 |
### SciQ loading and counting
|
15 |
"""
|
16 |
|
|
|
17 |
from dataclasses import dataclass
|
18 |
import pickle
|
19 |
import os
|
@@ -153,7 +154,6 @@ counting = run_counting(documents=iter(sciq.corpus), ndocs=len(sciq.corpus))
|
|
153 |
|
154 |
"""### BM25 Index"""
|
155 |
|
156 |
-
from __future__ import annotations
|
157 |
from dataclasses import asdict, dataclass
|
158 |
import math
|
159 |
import os
|
|
|
14 |
### SciQ loading and counting
|
15 |
"""
|
16 |
|
17 |
+
from __future__ import annotations
|
18 |
from dataclasses import dataclass
|
19 |
import pickle
|
20 |
import os
|
|
|
154 |
|
155 |
"""### BM25 Index"""
|
156 |
|
|
|
157 |
from dataclasses import asdict, dataclass
|
158 |
import math
|
159 |
import os
|