kavithapadala commited on
Commit
d0a821b
·
verified ·
1 Parent(s): 0805148

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -27,7 +27,6 @@ def load_model():
27
  @st.cache_resource
28
  def load_mlb():
29
  # Define the classes based on your label set
30
- # classes = ['E11.9', 'I10', 'J45.909', 'M54.5', 'N39.0', '81001.0', '99213.0', '99214.0']
31
  classes = ['81001.0','99213.0','99214.0','E11.9','I10','J45.909','M54.5','N39.0']
32
  # Initialize and fit the MultiLabelBinarizer
33
  mlb = MultiLabelBinarizer(classes=classes)
@@ -51,10 +50,10 @@ mlb = load_mlb()
51
 
52
  # Streamlit UI
53
  st.title("Automated Medical Coding Prediction")
54
- # st.write("Enter clinical notes to predict CPT and ICD codes.")
55
 
56
  # Text input for Clinical Notes
57
- clinical_note = st.text_area("Enter clinical notes to predict ICD and CPT codes")
58
 
59
  # Prediction button
60
  if st.button('Predict'):
 
27
  @st.cache_resource
28
  def load_mlb():
29
  # Define the classes based on your label set
 
30
  classes = ['81001.0','99213.0','99214.0','E11.9','I10','J45.909','M54.5','N39.0']
31
  # Initialize and fit the MultiLabelBinarizer
32
  mlb = MultiLabelBinarizer(classes=classes)
 
50
 
51
  # Streamlit UI
52
  st.title("Automated Medical Coding Prediction")
53
+ # st.write("Enter clinical notes to predict ICD and CPT codes.")
54
 
55
  # Text input for Clinical Notes
56
+ clinical_note = st.text_area("Enter clinical notes")
57
 
58
  # Prediction button
59
  if st.button('Predict'):