File size: 372 Bytes
835771a
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import streamlit as st
import model

st.title('Identify Key Phrases in Patient Notes from Medical Licensing Exams')

pn_history = st.text_area("Patient History")
feature_text = st.text_input('Feature Text')

label='submit'
if st.button(label):

    if pn_history and feature_text != '':
        pred = model.get_predictions(pn_history, feature_text)
        st.write(pred)