Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -36,10 +36,10 @@ st.dataframe(words_df)
|
|
36 |
|
37 |
|
38 |
|
39 |
-
@st.
|
40 |
def load_words_dataset():
|
41 |
dataset = load_dataset("marksverdhei/wordnet-definitions-en-2021", split="train")
|
42 |
-
return dataset["Word"]
|
43 |
|
44 |
all_words = load_words_dataset()
|
45 |
st.write(all_words)
|
|
|
36 |
|
37 |
|
38 |
|
39 |
+
@st.cache_data
|
40 |
def load_words_dataset():
|
41 |
dataset = load_dataset("marksverdhei/wordnet-definitions-en-2021", split="train")
|
42 |
+
return dataset["Word"]
|
43 |
|
44 |
all_words = load_words_dataset()
|
45 |
st.write(all_words)
|