gtech13 commited on
Commit
2d77f14
·
verified ·
1 Parent(s): 932b263

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,7 +68,7 @@ def load_embedder(model_name, pool_strat):
68
  # ==========================================
69
  # 2. THE GUIDED UI
70
  # ==========================================
71
- st.title("🧠 Advanced Topic Modeling Pipeline")
72
 
73
  try:
74
  st.image("pipeline.png", use_container_width=True)
@@ -214,7 +214,7 @@ if st.button("🚀 Run Topic Modeling Pipeline", type="primary", use_container_w
214
  if is_fallback:
215
  if safe_n_themes < n_themes:
216
  st.warning(f"⚠️ **Reduced requested themes from {n_themes} to {safe_n_themes}.**\n\n"
217
- f"*The Math Explanation:* BERTopic clusters complete sentences to preserve context. "
218
  f"You cannot sort {dataset_size} sentences into {n_themes} buckets without leaving empty buckets, "
219
  f"which mathematically breaks the clustering algorithms!")
220
  else:
 
68
  # ==========================================
69
  # 2. THE GUIDED UI
70
  # ==========================================
71
+ st.title("BERTopic - Topic Modeling Pipeline with Math Visualization")
72
 
73
  try:
74
  st.image("pipeline.png", use_container_width=True)
 
214
  if is_fallback:
215
  if safe_n_themes < n_themes:
216
  st.warning(f"⚠️ **Reduced requested themes from {n_themes} to {safe_n_themes}.**\n\n"
217
+ f"*Reason:* BERTopic clusters complete sentences to preserve context. "
218
  f"You cannot sort {dataset_size} sentences into {n_themes} buckets without leaving empty buckets, "
219
  f"which mathematically breaks the clustering algorithms!")
220
  else: