Update app.py
Browse files
app.py
CHANGED
@@ -46,9 +46,6 @@ if uploaded_file is not None:
|
|
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"):
|
54 |
csv = df.to_csv(index=False)
|
|
|
46 |
df['category'] = df['Abstract'].apply(predict_category)
|
47 |
st.dataframe(df)
|
48 |
|
|
|
|
|
|
|
49 |
# Create a download button
|
50 |
if st.sidebar.button("Download"):
|
51 |
csv = df.to_csv(index=False)
|