download added
Browse files
app.py
CHANGED
@@ -45,6 +45,9 @@ if uploaded_file is not None:
|
|
45 |
# Tag the "Abstract" column with the corresponding categories
|
46 |
df['category'] = df['Abstract'].apply(predict_category)
|
47 |
st.dataframe(df)
|
|
|
|
|
|
|
48 |
|
49 |
# Create a download button
|
50 |
if st.sidebar.button("Download"):
|
|
|
45 |
# Tag the "Abstract" column with the corresponding categories
|
46 |
df['category'] = df['Abstract'].apply(predict_category)
|
47 |
st.dataframe(df)
|
48 |
+
|
49 |
+
st.sidebar.header("Download Results")
|
50 |
+
st.sidebar.text("Download the tagged results as a CSV file.")
|
51 |
|
52 |
# Create a download button
|
53 |
if st.sidebar.button("Download"):
|