Update pages/type_text.py
Browse files- 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.
|
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 +"? "
|