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

Update pages/type_text.py

Browse files
Files changed (1) hide show
  1. pages/type_text.py +2 -2
pages/type_text.py CHANGED
@@ -291,7 +291,7 @@ if INTdesc_input is not None and st.button(":blue[Map to SBS codes]", key="run_s
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)
@@ -316,7 +316,7 @@ if INTdesc_input is not None and st.button(":blue[Map to SBS codes]", key="run_s
316
  )
317
  st.write(outputs[0]["generated_text"][-1]["content"])
318
  #add_keyboard_shortcuts({'Ctrl+End': 'Map to SBS codes',})
319
- scrollToBottom()
320
  #auto_scroll_to_bottom()
321
 
322
  bs, b1, b2, b3, bLast = st.columns([0.75, 1.5, 1.5, 1.5, 0.75])
 
291
  add_keyboard_shortcuts({'Ctrl+End': 'Map to SBS codes',})
292
  #scrollToBottom()
293
  #auto_scroll_to_bottom()
294
+ button("Scroll to Bottom", "ctrl+end", on_click=click_button)
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)
 
316
  )
317
  st.write(outputs[0]["generated_text"][-1]["content"])
318
  #add_keyboard_shortcuts({'Ctrl+End': 'Map to SBS codes',})
319
+ #scrollToBottom()
320
  #auto_scroll_to_bottom()
321
 
322
  bs, b1, b2, b3, bLast = st.columns([0.75, 1.5, 1.5, 1.5, 0.75])