Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ st.markdown("This demo allows the visualization of personal information anonymiz
|
|
14 |
This is just an illustration of BigCode's PII pipeline and the examples and secrets are synthetic.")
|
15 |
|
16 |
@st.cache()
|
17 |
-
def load_data():
|
18 |
# load dataset with modified files with: content, references and language columns
|
19 |
dataset = load_dataset("data", split="train")
|
20 |
return dataset
|
|
|
14 |
This is just an illustration of BigCode's PII pipeline and the examples and secrets are synthetic.")
|
15 |
|
16 |
@st.cache()
|
17 |
+
def load_data(language="python"):
|
18 |
# load dataset with modified files with: content, references and language columns
|
19 |
dataset = load_dataset("data", split="train")
|
20 |
return dataset
|