georad commited on
Commit
91d3011
·
verified ·
1 Parent(s): cd5f3f2

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +1 -1
pages/type_text.py CHANGED
@@ -171,7 +171,7 @@ dictA = {"Score": [], "SBS Code": [], "SBS Description V2.0": []}
171
  dfALL = pd.DataFrame.from_dict(dictA)
172
 
173
 
174
- if INTdesc_input is not None and if st.button("user_clickedSBS"):
175
  #my_model_results = pipeline("ner", model= "checkpoint-92")
176
  HF_model_results = util.semantic_search(INTdesc_embedding, SBScorpus_embeddings)
177
  HF_model_results_sorted = sorted(HF_model_results, key=lambda x: x[1], reverse=True)
 
171
  dfALL = pd.DataFrame.from_dict(dictA)
172
 
173
 
174
+ if INTdesc_input is not None and st.button("user_clickedSBS"):
175
  #my_model_results = pipeline("ner", model= "checkpoint-92")
176
  HF_model_results = util.semantic_search(INTdesc_embedding, SBScorpus_embeddings)
177
  HF_model_results_sorted = sorted(HF_model_results, key=lambda x: x[1], reverse=True)