SantanuBanerjee commited on
Commit
ae6ae7c
·
verified ·
1 Parent(s): 8b497ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -242,7 +242,7 @@ def extract_problem_domains(df, text_column='Problem_Description', cluster_range
242
 
243
 
244
  # BERTopic for topic modelling
245
- topic_model = BERTopic(n_topics=optimal_n_clusters)
246
  topics, _ = topic_model.fit_transform(df[text_column].tolist())
247
 
248
 
 
242
 
243
 
244
  # BERTopic for topic modelling
245
+ topic_model = BERTopic(num_topics=optimal_n_clusters)
246
  topics, _ = topic_model.fit_transform(df[text_column].tolist())
247
 
248