Spaces:
Build error
Build error
fix: Fix -1 topic comparison
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ def generate_plot(
|
|
141 |
cluster_keyword = {}
|
142 |
with st.spinner("Now trying to express them with my own words... 💬"):
|
143 |
for label in set(encoded_labels):
|
144 |
-
if label ==
|
145 |
cluster_keyword[label] = '-1'
|
146 |
continue
|
147 |
cluster_keyword[label] = []
|
|
|
141 |
cluster_keyword = {}
|
142 |
with st.spinner("Now trying to express them with my own words... 💬"):
|
143 |
for label in set(encoded_labels):
|
144 |
+
if label == -1:
|
145 |
cluster_keyword[label] = '-1'
|
146 |
continue
|
147 |
cluster_keyword[label] = []
|