Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,9 +37,9 @@ st.dataframe(words_df)
|
|
37 |
|
38 |
|
39 |
@st.cache_resource
|
40 |
-
def
|
41 |
-
dataset = load_dataset("marksverdhei/wordnet-definitions-en-2021")
|
42 |
return dataset["Word"].to_pandas()
|
43 |
|
44 |
-
all_words =
|
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)
|