georad commited on
Commit
e51779d
·
verified ·
1 Parent(s): e874798

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +1 -1
pages/type_text.py CHANGED
@@ -124,7 +124,7 @@ if INTdesc_input is not None and createSBScodes_clicked == True:
124
  dictA.update({"Score": "%.4f" % result[4]["score"], "SBS Code": df_SBS.loc[df_SBS["Long_Description"] == SBScorpus[result[4]["corpus_id"]],"SBS_Code_Hyphenated"].values[0], "SBS Description V2.0": SBScorpus[result[4]["corpus_id"]]})
125
  dfALL = pd.concat([dfALL, pd.DataFrame([dictA])], ignore_index=True)
126
 
127
- dfALL.style.hide_index()
128
  st.write(dfALL)
129
 
130
  display_format = "ask REASONING MODEL: Which, if any, of the above Saudi Billing System descriptions corresponds best to " + INTdesc_input +"? "
 
124
  dictA.update({"Score": "%.4f" % result[4]["score"], "SBS Code": df_SBS.loc[df_SBS["Long_Description"] == SBScorpus[result[4]["corpus_id"]],"SBS_Code_Hyphenated"].values[0], "SBS Description V2.0": SBScorpus[result[4]["corpus_id"]]})
125
  dfALL = pd.concat([dfALL, pd.DataFrame([dictA])], ignore_index=True)
126
 
127
+ dfALL.to_string(index=False)
128
  st.write(dfALL)
129
 
130
  display_format = "ask REASONING MODEL: Which, if any, of the above Saudi Billing System descriptions corresponds best to " + INTdesc_input +"? "