georad commited on
Commit
4048e15
·
verified ·
1 Parent(s): 005f83e

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +3 -2
pages/type_text.py CHANGED
@@ -1,6 +1,6 @@
1
  import streamlit as st
2
  import streamlit.components.v1 as components
3
- from streamlit_shortcuts import add_keyboard_shortcuts
4
  import pandas as pd
5
  from io import StringIO
6
  import json
@@ -290,7 +290,8 @@ if INTdesc_input is not None and st.button(":blue[Map to SBS codes]", key="run_s
290
  st.dataframe(data=dfALL, hide_index=True)
291
  add_keyboard_shortcuts({'Ctrl+End': 'Map to SBS codes',})
292
  #scrollToBottom()
293
- #auto_scroll_to_bottom()
 
294
 
295
  display_format = "ask REASONING MODEL: Which, if any, of the following SBS descriptions corresponds best to " + INTdesc_input +"? "
296
  #st.write(display_format)
 
1
  import streamlit as st
2
  import streamlit.components.v1 as components
3
+ from streamlit_shortcuts import button, add_keyboard_shortcuts
4
  import pandas as pd
5
  from io import StringIO
6
  import json
 
290
  st.dataframe(data=dfALL, hide_index=True)
291
  add_keyboard_shortcuts({'Ctrl+End': 'Map to SBS codes',})
292
  #scrollToBottom()
293
+ #auto_scroll_to_bottom()
294
+ button("Scroll to Bottom", "ctrl+end")
295
 
296
  display_format = "ask REASONING MODEL: Which, if any, of the following SBS descriptions corresponds best to " + INTdesc_input +"? "
297
  #st.write(display_format)