Update app102.py
Browse files
app102.py
CHANGED
@@ -1315,8 +1315,8 @@ if "task_choice" in st.session_state:
|
|
1315 |
# }, indent=2).encode('utf-8')
|
1316 |
|
1317 |
########
|
1318 |
-
|
1319 |
-
|
1320 |
|
1321 |
# Download buttons
|
1322 |
st.download_button(
|
|
|
1315 |
# }, indent=2).encode('utf-8')
|
1316 |
|
1317 |
########
|
1318 |
+
st.session_state.labeled_examples_csv = df.to_csv(index=False).encode('utf-8')
|
1319 |
+
st.session_state.labeled_examples_json = json.dumps(labeled_examples, indent=2).encode('utf-8')
|
1320 |
|
1321 |
# Download buttons
|
1322 |
st.download_button(
|