RamAnanth1 commited on
Commit
4dc7953
·
1 Parent(s): f9c9d9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -77,8 +77,7 @@ topic_model.set_topic_labels(topic_names)
77
  fig = topic_model.visualize_documents(df['content.title'].values,
78
  embeddings=embeds_npy,
79
  topics = list(range(8)),
80
- custom_labels=True,
81
- width=900,
82
- height=600)
83
- st.pyplot(fig)
84
 
 
77
  fig = topic_model.visualize_documents(df['content.title'].values,
78
  embeddings=embeds_npy,
79
  topics = list(range(8)),
80
+ custom_labels=True)
81
+
82
+ st.plotly_chart(fig, use_container_width=True)
 
83