dhmeltzer commited on
Commit
bc258f6
·
1 Parent(s): a6a33ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ from datasets import load_dataset
13
  @st.cache_data
14
  def read_data(dataset_repo='dhmeltzer/ELI5_embedded'):
15
  """Read the data from huggingface."""
16
- return load_dataset(dataset_repo)
17
 
18
  @st.cache_data
19
  def load_faiss_index(path_to_faiss="./faiss_index.pickle"):
 
13
  @st.cache_data
14
  def read_data(dataset_repo='dhmeltzer/ELI5_embedded'):
15
  """Read the data from huggingface."""
16
+ return load_dataset(dataset_repo)['train']
17
 
18
  @st.cache_data
19
  def load_faiss_index(path_to_faiss="./faiss_index.pickle"):