mediNER / pages /home.py
georad's picture
Update pages/home.py
02ac1f8 verified
raw
history blame
1.22 kB
import streamlit as st
import streamlit.components.v1 as components
from streamlit_shortcuts import button, add_keyboard_shortcuts
import base64
st.title("📘Named Entity Recognition")
st.header("Tags the below 41 medical entities")
'ACTIVITY'
'ADMINISTRATION'
'AGE'
'AREA'
'BIOLOGICAL_ATTRIBUTE'
'BIOLOGICAL_STRUCTURE'
'CLINICAL_EVENT'
'COLOR'
'COREFERENCE'
'DATE'
'DETAILED_DESCRIPTION'
'DIAGNOSTIC_PROCEDURE'
'DISEASE_DISORDER'
'DISTANCE'
'DOSAGE'
'DURATION'
'FAMILY_HISTORY'
'FREQUENCY'
'HEIGHT'
'HISTORY'
'LAB_VALUE'
'MASS'
'MEDICATION'
'NONBIOLOGICAL_LOCATION'
'OCCUPATION'
'OTHER_ENTITY'
'OUTCOME'
'PERSONAL_BACKGROUND'
'QUALITATIVE_CONCEPT'
'QUANTITATIVE_CONCEPT'
'SEVERITY'
'SEX'
'SHAPE'
'SIGN_SYMPTOM'
'SUBJECT'
'TEXTURE'
'THERAPEUTIC_PROCEDURE'
'TIME'
'VOLUME'
'WEIGHT'
# Create scrollable content
for i in range(100):
st.write(f"This is scrollable content line {i}")
# Add JavaScript to automatically scroll to the bottom
st.markdown("""
<script>
// Set a timeout to ensure the page has loaded
setTimeout(function() {
// Get the window object and scroll to the bottom
window.scrollTo(0, document.body.scrollHeight);
}, 500);
</script>
""", unsafe_allow_html=True)