Spaces:
Sleeping
Sleeping
Update app.py
Browse files254 unmodified lines25525625725825825926026125 unmodified lines28728828929029029129229311 unmodified lines305306307308308309310311312313314315316317318254 unmodified lines st.error(st.session_state.error) if st.session_state.success != None: st.success("Success! Download the merged CSV with Q/A pairs below / Reset to merge more CSVs") st.success("Success! Download the merged CSV with Q/A pairs below / Repeat for all CSVs less than 50 with the 'Reset' button") st.download_button( label=f"Download CSV: length = {st.session_state.success[1]}", data=st.session_state.success[0],25 unmodified lines else: st.session_state.clear() st.session_state.error = "Please upload CSVs that have been generated from 1) Create CSV" st.session_state.error = "Please upload CSVs that have been generated from Step 2) Create CSV" st.rerun() df = pd.concat(dfs, ignore_index=True)11 unmodified lines st.rerun()
if selected_app == "4) Upload Datasets": st.markdown("Go to this [google colab link](https://colab.research.google.com/drive/1eCpk9HUoCKZb--tiNyQSHFW2ojoaA35m) to get started") st.markdown("1. Go to this [google colab link](https://colab.research.google.com/drive/1eCpk9HUoCKZb--tiNyQSHFW2ojoaA35m) to get started") st.divider()
st.write("2. ") st.divider()
st.write("3. ") st.divider()
if selected_app == "5) Create Chatbot": if st.session_state.error != "":app.py+10-3