Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ st.markdown("<h1 style='text-align: center; color: #00BFFF;'>Kaggle Notebooks in
|
|
9 |
st.markdown("Here you can inspect Kaggle notebooks that were converted to python scripts and deduplicated.")
|
10 |
@st.cache()
|
11 |
def load_data(upvote=0, size=0):
|
12 |
-
ds = load_dataset("loubnabnl/
|
13 |
ds = ds.filter(lambda x: x["upvotes"] >= upvote and x["seq_len"] >= size)
|
14 |
return ds
|
15 |
|
|
|
9 |
st.markdown("Here you can inspect Kaggle notebooks that were converted to python scripts and deduplicated.")
|
10 |
@st.cache()
|
11 |
def load_data(upvote=0, size=0):
|
12 |
+
ds = load_dataset("loubnabnl/subset_kaggle_scripts_2", split="train")
|
13 |
ds = ds.filter(lambda x: x["upvotes"] >= upvote and x["seq_len"] >= size)
|
14 |
return ds
|
15 |
|