georad commited on
Commit
b9eba5c
·
verified ·
1 Parent(s): d8668c8

Update pages/home.py

Browse files
Files changed (1) hide show
  1. pages/home.py +6 -0
pages/home.py CHANGED
@@ -1,8 +1,14 @@
1
  import streamlit as st
2
  import streamlit.components.v1 as components
 
3
 
4
  st.title("📘Named Entity Recognition")
5
 
 
 
 
 
 
6
  st.header("Tags the below 41 medical entities")
7
 
8
  'ACTIVITY'
 
1
  import streamlit as st
2
  import streamlit.components.v1 as components
3
+ from streamlit_shortcuts import button, add_keyboard_shortcuts
4
 
5
  st.title("📘Named Entity Recognition")
6
 
7
+ def scroll_to_bottom():
8
+ st.write('REACHED BOTTOM OF PAGE!')
9
+ st.button('scroll_to_bottom', on_click=scroll_to_bottom)
10
+ add_keyboard_shortcuts({'Ctrl+End': 'scroll_to_bottom',})
11
+
12
  st.header("Tags the below 41 medical entities")
13
 
14
  'ACTIVITY'