not-lain commited on
Commit
5ea07e3
β€’
1 Parent(s): 4871902

🌘wπŸŒ–

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", subset="train")
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)