Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -98,18 +98,20 @@ col1, col2, col3, col4 = st.columns(4)
|
|
98 |
with col1:
|
99 |
# st.button('Admission')
|
100 |
if st.button("🏥 Admission"):
|
101 |
-
nav_page('Admission')
|
102 |
-
|
103 |
with col2:
|
104 |
if st.button('📆Daily Narrative'):
|
105 |
-
nav_page('Daily Narrative')
|
106 |
-
|
107 |
with col3:
|
108 |
if st.button('Discharge Plan'):
|
109 |
-
nav_page('Discharge Plan')
|
|
|
110 |
with col4:
|
111 |
if st.button('📝Social Notes'):
|
112 |
-
nav_page('Social Notes')
|
|
|
113 |
|
114 |
# Query out relevant Clinical notes
|
115 |
original_text = df.query(
|
@@ -118,7 +120,7 @@ original_text = df.query(
|
|
118 |
|
119 |
original_text2 = original_text['Original_Text'].values
|
120 |
|
121 |
-
|
122 |
|
123 |
reference_text = original_text['Reference_text'].values
|
124 |
|
|
|
98 |
with col1:
|
99 |
# st.button('Admission')
|
100 |
if st.button("🏥 Admission"):
|
101 |
+
#nav_page('Admission')
|
102 |
+
runtext =st.text_area('Input Admission note here:', str(original_text2), height=300)
|
103 |
with col2:
|
104 |
if st.button('📆Daily Narrative'):
|
105 |
+
#nav_page('Daily Narrative')
|
106 |
+
runtext =st.text_area('Input Daily Narrative here:', str(original_text2), height=300)
|
107 |
with col3:
|
108 |
if st.button('Discharge Plan'):
|
109 |
+
#nav_page('Discharge Plan')
|
110 |
+
runtext =st.text_area('Input Discharge Plan here:', str(original_text2), height=300)
|
111 |
with col4:
|
112 |
if st.button('📝Social Notes'):
|
113 |
+
#nav_page('Social Notes')
|
114 |
+
runtext =st.text_area('Input Social Note here:', str(original_text2), height=300)
|
115 |
|
116 |
# Query out relevant Clinical notes
|
117 |
original_text = df.query(
|
|
|
120 |
|
121 |
original_text2 = original_text['Original_Text'].values
|
122 |
|
123 |
+
|
124 |
|
125 |
reference_text = original_text['Reference_text'].values
|
126 |
|