Spaces:
Sleeping
Sleeping
Update app.py
Browse files254 unmodified lines25525625725825926026125 unmodified lines28728828929029129229311 unmodified lines305306307308309310311254 unmodified linesst.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.download_button(label=f"Download CSV: length = {st.session_state.success[1]}",data=st.session_state.success[0],25 unmodified lineselse:st.session_state.clear()st.session_state.error = "Please upload CSVs that have been generated from 1) Create CSV"st.rerun()df = pd.concat(dfs, ignore_index=True)11 unmodified linesst.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")if selected_app == "5) Create Chatbot":if st.session_state.error != "":254 unmodified lines25525625725825926026125 unmodified lines28728828929029129229311 unmodified lines305306307308309310311312313314315316317318254 unmodified linesst.error(st.session_state.error)if st.session_state.success != None: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 lineselse:st.session_state.clear()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 linesst.rerun()if selected_app == "4) Upload Datasets":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