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