mlkorra commited on
Commit
000fa39
·
2 Parent(s): 24dc089 ebe5ae0

Merge branch 'main' of https://huggingface.co/spaces/mlkorra/competitive-analysis into main

Browse files
Files changed (2) hide show
  1. app.py +6 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -116,6 +116,10 @@ def app():
116
  st.error("Some fields are empty!")
117
  else:
118
 
119
- model_path = 'topicmodel/my_model'
120
  topic,prob_req,embed,df,index = load_topic_model(model_path, companyname, companygrp, state, states_used, companydesc)
121
- visualizer(prob_req, embed, df, index, companyname)
 
 
 
 
 
116
  st.error("Some fields are empty!")
117
  else:
118
 
119
+ model_path = 'topicmodel/my_model.pkl'
120
  topic,prob_req,embed,df,index = load_topic_model(model_path, companyname, companygrp, state, states_used, companydesc)
121
+ visualizer(prob_req, embed, df, index, companyname)
122
+
123
+
124
+ if __name__ == "__main__":
125
+ app()
requirements.txt CHANGED
@@ -2,4 +2,4 @@ umap-learn
2
  nltk
3
  plotly
4
  bertopic
5
- pickle
 
2
  nltk
3
  plotly
4
  bertopic
5
+ pickle-mixin