Update pages/type_text.py
Browse files- pages/type_text.py +3 -3
pages/type_text.py
CHANGED
@@ -291,8 +291,8 @@ if INTdesc_input is not None and st.button(":blue[Map to SBS codes]", key="run_s
|
|
291 |
dfALL = pd.concat([dfALL, pd.DataFrame([dictA])], ignore_index=True)
|
292 |
|
293 |
st.dataframe(data=dfALL, hide_index=True)
|
294 |
-
add_keyboard_shortcuts({'Ctrl+End': 'Map to SBS codes',})
|
295 |
-
|
296 |
#auto_scroll_to_bottom()
|
297 |
|
298 |
display_format = "ask REASONING MODEL: Which, if any, of the following SBS descriptions corresponds best to " + INTdesc_input +"? "
|
@@ -317,7 +317,7 @@ if INTdesc_input is not None and st.button(":blue[Map to SBS codes]", key="run_s
|
|
317 |
max_new_tokens=256,
|
318 |
)
|
319 |
st.write(outputs[0]["generated_text"][-1]["content"])
|
320 |
-
|
321 |
#auto_scroll_to_bottom()
|
322 |
|
323 |
bs, b1, b2, b3, bLast = st.columns([0.75, 1.5, 1.5, 1.5, 0.75])
|
|
|
291 |
dfALL = pd.concat([dfALL, pd.DataFrame([dictA])], ignore_index=True)
|
292 |
|
293 |
st.dataframe(data=dfALL, hide_index=True)
|
294 |
+
#add_keyboard_shortcuts({'Ctrl+End': 'Map to SBS codes',})
|
295 |
+
scrollToBottom()
|
296 |
#auto_scroll_to_bottom()
|
297 |
|
298 |
display_format = "ask REASONING MODEL: Which, if any, of the following SBS descriptions corresponds best to " + INTdesc_input +"? "
|
|
|
317 |
max_new_tokens=256,
|
318 |
)
|
319 |
st.write(outputs[0]["generated_text"][-1]["content"])
|
320 |
+
scrollToBottom()
|
321 |
#auto_scroll_to_bottom()
|
322 |
|
323 |
bs, b1, b2, b3, bLast = st.columns([0.75, 1.5, 1.5, 1.5, 0.75])
|