manika07 commited on
Commit
333facd
·
1 Parent(s): 4352018

download added

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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"):