georad commited on
Commit
52aa7d6
·
verified ·
1 Parent(s): 942feaf

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +1 -1
pages/type_text.py CHANGED
@@ -110,7 +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
 
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)
 
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)