Spaces:
Running
Running
Hellisotherpeople
commited on
Commit
•
bab859e
1
Parent(s):
fe3396a
Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ with st.expander("Open to see Representitive docs for each topic"):
|
|
163 |
if labels:
|
164 |
y = df[labels_column_name]
|
165 |
st.header("Topics per class")
|
166 |
-
topics_per_class = model.topics_per_class(X,
|
167 |
st.plotly_chart(model.visualize_topics_per_class(topics_per_class))
|
168 |
#TODO:Each of these need there own options!
|
169 |
|
|
|
163 |
if labels:
|
164 |
y = df[labels_column_name]
|
165 |
st.header("Topics per class")
|
166 |
+
topics_per_class = model.topics_per_class(X, classes=y)
|
167 |
st.plotly_chart(model.visualize_topics_per_class(topics_per_class))
|
168 |
#TODO:Each of these need there own options!
|
169 |
|