Update pages/type_text.py
Browse files- pages/type_text.py +1 -1
pages/type_text.py
CHANGED
@@ -96,7 +96,7 @@ if INTdesc_input is not None and createSBScodes_clicked == True:
|
|
96 |
|
97 |
st.dataframe(data=dfALL, hide_index=True)
|
98 |
|
99 |
-
question = "Which one, if any, of the
|
100 |
shortlist = [SBScorpus[result[0]["corpus_id"]], SBScorpus[result[1]["corpus_id"]], SBScorpus[result[2]["corpus_id"]], SBScorpus[result[3]["corpus_id"]], SBScorpus[result[4]["corpus_id"]]]
|
101 |
prompt = question + " " +"A: "+ shortlist[0] + " " +"B: " + shortlist[1] + " " + "C: " + shortlist[2] + " " + "D: " + shortlist[3] + " " + "E: " + shortlist[4]
|
102 |
st.write(prompt)
|
|
|
96 |
|
97 |
st.dataframe(data=dfALL, hide_index=True)
|
98 |
|
99 |
+
question = "Which one, if any, of the following Saudi Billing System descriptions A, B, C, D, or E corresponds best to " + INTdesc_input +"? "
|
100 |
shortlist = [SBScorpus[result[0]["corpus_id"]], SBScorpus[result[1]["corpus_id"]], SBScorpus[result[2]["corpus_id"]], SBScorpus[result[3]["corpus_id"]], SBScorpus[result[4]["corpus_id"]]]
|
101 |
prompt = question + " " +"A: "+ shortlist[0] + " " +"B: " + shortlist[1] + " " + "C: " + shortlist[2] + " " + "D: " + shortlist[3] + " " + "E: " + shortlist[4]
|
102 |
st.write(prompt)
|