Spaces:
Running
on
Zero
Running
on
Zero
πwπ
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ TOP_K = 3
|
|
25 |
# prepare data
|
26 |
# since data is too big we will only select the first 3K lines
|
27 |
|
28 |
-
data = load_dataset("not-lain/wikipedia-small-3000-embedded",
|
29 |
|
30 |
# index dataset
|
31 |
data.add_faiss_index("embedding", device=1)
|
|
|
25 |
# prepare data
|
26 |
# since data is too big we will only select the first 3K lines
|
27 |
|
28 |
+
data = load_dataset("not-lain/wikipedia-small-3000-embedded", split="train")
|
29 |
|
30 |
# index dataset
|
31 |
data.add_faiss_index("embedding", device=1)
|