wilmerags commited on
Commit
2d21363
·
1 Parent(s): 7f1a60e

test: Debug keyword selection

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -147,6 +147,7 @@ def generate_plot(
147
  for ix, obs in enumerate(encoded_labels):
148
  if obs == label:
149
  cluster_tws.append(tws_cleaned)
 
150
  cluster_words = [tw.split(' ') for tw in cluster_tws]
151
  cluster_words = list(set(itertools.chain.from_iterable(cluster_words)))
152
  cluster_embeddings = embed_text(cluster_tws, model)
 
147
  for ix, obs in enumerate(encoded_labels):
148
  if obs == label:
149
  cluster_tws.append(tws_cleaned)
150
+ st.write(tws_cleaned)
151
  cluster_words = [tw.split(' ') for tw in cluster_tws]
152
  cluster_words = list(set(itertools.chain.from_iterable(cluster_words)))
153
  cluster_embeddings = embed_text(cluster_tws, model)