Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -255,7 +255,7 @@ if selected_app == "3) Merge CSVs":
|
|
255 |
st.error(st.session_state.error)
|
256 |
|
257 |
if st.session_state.success != None:
|
258 |
-
st.success("Success! Download the merged CSV with Q/A pairs below /
|
259 |
st.download_button(
|
260 |
label=f"Download CSV: length = {st.session_state.success[1]}",
|
261 |
data=st.session_state.success[0],
|
@@ -287,7 +287,7 @@ if selected_app == "3) Merge CSVs":
|
|
287 |
|
288 |
else:
|
289 |
st.session_state.clear()
|
290 |
-
st.session_state.error = "Please upload CSVs that have been generated from
|
291 |
st.rerun()
|
292 |
|
293 |
df = pd.concat(dfs, ignore_index=True)
|
@@ -305,7 +305,14 @@ if selected_app == "3) Merge CSVs":
|
|
305 |
st.rerun()
|
306 |
|
307 |
if selected_app == "4) Upload Datasets":
|
308 |
-
st.markdown("Go to this [google colab link](https://colab.research.google.com/drive/1eCpk9HUoCKZb--tiNyQSHFW2ojoaA35m) to get started")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
|
310 |
if selected_app == "5) Create Chatbot":
|
311 |
if st.session_state.error != "":
|
|
|
255 |
st.error(st.session_state.error)
|
256 |
|
257 |
if st.session_state.success != None:
|
258 |
+
st.success("Success! Download the merged CSV with Q/A pairs below / Repeat for all CSVs less than 50 with the 'Reset' button")
|
259 |
st.download_button(
|
260 |
label=f"Download CSV: length = {st.session_state.success[1]}",
|
261 |
data=st.session_state.success[0],
|
|
|
287 |
|
288 |
else:
|
289 |
st.session_state.clear()
|
290 |
+
st.session_state.error = "Please upload CSVs that have been generated from Step 2) Create CSV"
|
291 |
st.rerun()
|
292 |
|
293 |
df = pd.concat(dfs, ignore_index=True)
|
|
|
305 |
st.rerun()
|
306 |
|
307 |
if selected_app == "4) Upload Datasets":
|
308 |
+
st.markdown("1. Go to this [google colab link](https://colab.research.google.com/drive/1eCpk9HUoCKZb--tiNyQSHFW2ojoaA35m) to get started")
|
309 |
+
st.divider()
|
310 |
+
|
311 |
+
st.write("2. ")
|
312 |
+
st.divider()
|
313 |
+
|
314 |
+
st.write("3. ")
|
315 |
+
st.divider()
|
316 |
|
317 |
if selected_app == "5) Create Chatbot":
|
318 |
if st.session_state.error != "":
|