Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def load_data():
|
|
| 25 |
|
| 26 |
df = load_data()
|
| 27 |
|
| 28 |
-
display_columns = ["problem", "source", "question_type", "problem_type"]
|
| 29 |
df_filtered = df[display_columns]
|
| 30 |
|
| 31 |
# ================== FUNCTION DEFINITIONS ==================
|
|
@@ -130,11 +130,3 @@ if st.sidebar.button("Run Deduplication Analysis"):
|
|
| 130 |
with st.expander("Show Column Differences"):
|
| 131 |
st.json(entry["column_differences"])
|
| 132 |
st.markdown("---")
|
| 133 |
-
|
| 134 |
-
# Export results
|
| 135 |
-
st.sidebar.download_button(
|
| 136 |
-
label="Download Results as JSON",
|
| 137 |
-
data=json.dumps(results, indent=2),
|
| 138 |
-
file_name="deduplication_results.json",
|
| 139 |
-
mime="application/json"
|
| 140 |
-
)
|
|
|
|
| 25 |
|
| 26 |
df = load_data()
|
| 27 |
|
| 28 |
+
display_columns = ["uuid","problem", "source", "question_type", "problem_type"]
|
| 29 |
df_filtered = df[display_columns]
|
| 30 |
|
| 31 |
# ================== FUNCTION DEFINITIONS ==================
|
|
|
|
| 130 |
with st.expander("Show Column Differences"):
|
| 131 |
st.json(entry["column_differences"])
|
| 132 |
st.markdown("---")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|