Spaces:
Runtime error
Runtime error
| 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) |