Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,10 +103,7 @@ with tab1:
|
|
| 103 |
|
| 104 |
# File uploader
|
| 105 |
uploaded_file = st.file_uploader("Choose a CSV file", type="csv")
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
# Check the file
|
| 111 |
if uploaded_file is None:
|
| 112 |
st.warning("Please upload a CSV file.")
|
|
@@ -133,10 +130,6 @@ with tab1:
|
|
| 133 |
class_dist = df['predicted_category'].value_counts()
|
| 134 |
st.bar_chart(class_dist)
|
| 135 |
|
| 136 |
-
# Generate word cloud for each class
|
| 137 |
-
st.subheader("Word Clouds by Category")
|
| 138 |
-
classes = df['predicted_category'].unique()
|
| 139 |
-
cols = st.columns(len(classes))
|
| 140 |
|
| 141 |
|
| 142 |
# Download button
|
|
|
|
| 103 |
|
| 104 |
# File uploader
|
| 105 |
uploaded_file = st.file_uploader("Choose a CSV file", type="csv")
|
| 106 |
+
|
|
|
|
|
|
|
|
|
|
| 107 |
# Check the file
|
| 108 |
if uploaded_file is None:
|
| 109 |
st.warning("Please upload a CSV file.")
|
|
|
|
| 130 |
class_dist = df['predicted_category'].value_counts()
|
| 131 |
st.bar_chart(class_dist)
|
| 132 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
|
| 134 |
|
| 135 |
# Download button
|