Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,8 @@ Additionally, the model was tasked with finding the topic of each cluster (based
|
|
19 |
|
20 |
@st.cache_data
|
21 |
def load_data(min_score=1, max_score=10, show_special=False):
|
22 |
-
|
|
|
23 |
def filter_func(x):
|
24 |
try:
|
25 |
score = int(x['educational_score'])
|
|
|
19 |
|
20 |
@st.cache_data
|
21 |
def load_data(min_score=1, max_score=10, show_special=False):
|
22 |
+
# HuggingFaceTB/FW_clusters_free_topics
|
23 |
+
ds = load_dataset("HuggingFaceTB/FW_clusters_100k_145_topics", split="train", token=HF_TOKEN, num_proc=2)
|
24 |
def filter_func(x):
|
25 |
try:
|
26 |
score = int(x['educational_score'])
|