georad commited on
Commit
942feaf
·
verified ·
1 Parent(s): 731e0ae

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +1 -2
pages/type_text.py CHANGED
@@ -110,8 +110,7 @@ if INTdesc_input is not None and createSBScodes_clicked == True:
110
  col3.write(SBScorpus[result[4]["corpus_id"]])
111
  dictA["Score"].append("%.4f" % result[4]["score"]), dictA["SBS Code"].append(df_SBS.loc[df_SBS["Long_Description"] == SBScorpus[result[4]["corpus_id"]],"SBS_Code_Hyphenated"].values[0]), dictA["SBS Description V2.0"].append(SBScorpus[result[4]["corpus_id"]])
112
 
113
- dfA = pd.DataFrame.from_dict(dictA)
114
- dfA = dfA.style.highlight_null(props="color: transparent;")
115
 
116
  display_format = "ask REASONING MODEL: Which, if any, of the above Saudi Billing System descriptions corresponds best to " + INTdesc_input +"? "
117
  st.write(display_format)
 
110
  col3.write(SBScorpus[result[4]["corpus_id"]])
111
  dictA["Score"].append("%.4f" % result[4]["score"]), dictA["SBS Code"].append(df_SBS.loc[df_SBS["Long_Description"] == SBScorpus[result[4]["corpus_id"]],"SBS_Code_Hyphenated"].values[0]), dictA["SBS Description V2.0"].append(SBScorpus[result[4]["corpus_id"]])
112
 
113
+ dfA = pd.DataFrame.from_dict(dictA)
 
114
 
115
  display_format = "ask REASONING MODEL: Which, if any, of the above Saudi Billing System descriptions corresponds best to " + INTdesc_input +"? "
116
  st.write(display_format)