Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -104,23 +104,26 @@ reference_text = original_text['Reference_text'].values
|
|
104 |
col1, col2, col3, col4 = st.columns(4)
|
105 |
|
106 |
with col1:
|
107 |
-
st.button("🏥 Admission")
|
108 |
#nav_page('Admission')
|
|
|
109 |
|
110 |
with col2:
|
111 |
-
st.button('📆Daily Narrative')
|
112 |
#nav_page('Daily Narrative')
|
113 |
-
|
114 |
with col3:
|
115 |
-
st.button('Discharge Plan')
|
116 |
-
#nav_page('Discharge Plan')
|
|
|
117 |
with col4:
|
118 |
-
st.button('📝Social Notes')
|
119 |
#nav_page('Social Notes')
|
120 |
-
|
121 |
|
122 |
|
123 |
-
runtext =st.text_area('Input note here:', str(original_text2), height=300)
|
|
|
124 |
|
125 |
|
126 |
def run_model(input_text):
|
|
|
104 |
col1, col2, col3, col4 = st.columns(4)
|
105 |
|
106 |
with col1:
|
107 |
+
if st.button("🏥 Admission"):
|
108 |
#nav_page('Admission')
|
109 |
+
inputNote = "Input Admission Note"
|
110 |
|
111 |
with col2:
|
112 |
+
if st.button('📆Daily Narrative'):
|
113 |
#nav_page('Daily Narrative')
|
114 |
+
inputNote = "Input Daily Narrative Note"
|
115 |
with col3:
|
116 |
+
if st.button('Discharge Plan'):
|
117 |
+
#nav_page('Discharge Plan')
|
118 |
+
inputNote = "Input Discharge Plan"
|
119 |
with col4:
|
120 |
+
if st.button('📝Social Notes'):
|
121 |
#nav_page('Social Notes')
|
122 |
+
inputNote = "Input Social Note"
|
123 |
|
124 |
|
125 |
+
#runtext =st.text_area('Input note here:', str(original_text2), height=300)
|
126 |
+
runtext =st.text_area(inputNote, str(original_text2), height=300)
|
127 |
|
128 |
|
129 |
def run_model(input_text):
|