Allob commited on
Commit
6be209f
1 Parent(s): 8b6fd38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -37,9 +37,9 @@ st.dataframe(words_df)
37
 
38
 
39
  @st.cache_resource
40
- def load_dataset():
41
- dataset = load_dataset("marksverdhei/wordnet-definitions-en-2021")
42
  return dataset["Word"].to_pandas()
43
 
44
- all_words = load_dataset()
45
  st.write(all_words)
 
37
 
38
 
39
  @st.cache_resource
40
+ def load_words_dataset():
41
+ dataset = load_dataset("marksverdhei/wordnet-definitions-en-2021", split="train")
42
  return dataset["Word"].to_pandas()
43
 
44
+ all_words = load_words_dataset()
45
  st.write(all_words)