Update pages/type_text.py
Browse files- pages/type_text.py +2 -2
pages/type_text.py
CHANGED
@@ -230,7 +230,7 @@ if INTdesc_input is not None and st.button("Map to SBS codes", key="run_st_model
|
|
230 |
dfALL = pd.concat([dfALL, pd.DataFrame([dictA])], ignore_index=True)
|
231 |
|
232 |
st.dataframe(data=dfALL, hide_index=True)
|
233 |
-
|
234 |
|
235 |
display_format = "ask REASONING MODEL: Which, if any, of the following SBS descriptions corresponds best to " + INTdesc_input +"? "
|
236 |
#st.write(display_format)
|
@@ -254,7 +254,7 @@ if INTdesc_input is not None and st.button("Map to SBS codes", key="run_st_model
|
|
254 |
max_new_tokens=256,
|
255 |
)
|
256 |
st.write(outputs[0]["generated_text"][-1]["content"])
|
257 |
-
|
258 |
|
259 |
bs, b1, b2, b3, bLast = st.columns([0.75, 1.5, 1.5, 1.5, 0.75])
|
260 |
with b1:
|
|
|
230 |
dfALL = pd.concat([dfALL, pd.DataFrame([dictA])], ignore_index=True)
|
231 |
|
232 |
st.dataframe(data=dfALL, hide_index=True)
|
233 |
+
scroll_to_bottom()
|
234 |
|
235 |
display_format = "ask REASONING MODEL: Which, if any, of the following SBS descriptions corresponds best to " + INTdesc_input +"? "
|
236 |
#st.write(display_format)
|
|
|
254 |
max_new_tokens=256,
|
255 |
)
|
256 |
st.write(outputs[0]["generated_text"][-1]["content"])
|
257 |
+
scroll_to_bottom()
|
258 |
|
259 |
bs, b1, b2, b3, bLast = st.columns([0.75, 1.5, 1.5, 1.5, 0.75])
|
260 |
with b1:
|