Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -267,6 +267,8 @@ if selected_app == "3) Merge CSVs":
|
|
| 267 |
st.rerun()
|
| 268 |
|
| 269 |
else:
|
|
|
|
|
|
|
| 270 |
uploaded_files = st.file_uploader("Upload CSV files to merge", accept_multiple_files=True, type="csv")
|
| 271 |
with st.expander("Explain"):
|
| 272 |
st.write("Merge CSVs that contain related topics. Total CSV length should be around 50-100.")
|
|
@@ -344,6 +346,28 @@ if selected_app == "4) Upload Datasets":
|
|
| 344 |
st.image(image, caption="Example for Step 6",use_column_width=True)
|
| 345 |
st.divider()
|
| 346 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 347 |
if selected_app == "5) Create Chatbot":
|
| 348 |
if st.session_state.error != "":
|
| 349 |
st.error(st.session_state.error)
|
|
|
|
| 267 |
st.rerun()
|
| 268 |
|
| 269 |
else:
|
| 270 |
+
st.markdown("### On this page, you'll merge your CSVs from Step 2 so that they are the right length (50-100) for Step 4.")
|
| 271 |
+
|
| 272 |
uploaded_files = st.file_uploader("Upload CSV files to merge", accept_multiple_files=True, type="csv")
|
| 273 |
with st.expander("Explain"):
|
| 274 |
st.write("Merge CSVs that contain related topics. Total CSV length should be around 50-100.")
|
|
|
|
| 346 |
st.image(image, caption="Example for Step 6",use_column_width=True)
|
| 347 |
st.divider()
|
| 348 |
|
| 349 |
+
st.write("7. Enter 'Y' and click return")
|
| 350 |
+
image = Image.open('Example12.png')
|
| 351 |
+
st.image(image, caption="Example for Step 7",use_column_width=True)
|
| 352 |
+
st.divider()
|
| 353 |
+
|
| 354 |
+
st.write("8. Enter your HuggingFace access token again and click return")
|
| 355 |
+
image = Image.open('Example13.png')
|
| 356 |
+
st.image(image, caption="Example for Step 8",use_column_width=True)
|
| 357 |
+
st.divider()
|
| 358 |
+
|
| 359 |
+
st.write("9. Enter your HuggingFace username")
|
| 360 |
+
image = Image.open('Example14.png')
|
| 361 |
+
st.image(image, caption="Example for Step 9",use_column_width=True)
|
| 362 |
+
st.divider()
|
| 363 |
+
|
| 364 |
+
st.write("10. Enter what you want to name the dataset")
|
| 365 |
+
image = Image.open('Example15.png')
|
| 366 |
+
st.image(image, caption="Example for Step 10",use_column_width=True)
|
| 367 |
+
st.divider()
|
| 368 |
+
|
| 369 |
+
st.write("11. Repeat for all CSVs!")
|
| 370 |
+
|
| 371 |
if selected_app == "5) Create Chatbot":
|
| 372 |
if st.session_state.error != "":
|
| 373 |
st.error(st.session_state.error)
|