carisackc commited on
Commit
24b738e
1 Parent(s): 4297db9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -25
app.py CHANGED
@@ -101,33 +101,33 @@ original_text2 = original_text['Original_Text'].values
101
  reference_text = original_text['Reference_text'].values
102
 
103
  ##========= Buttons to the 4 tabs ========
104
- col1, col2, col3, col4 = st.columns(4)
105
- with col1:
106
- # st.button('Admission')
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
-
118
- with col4:
119
- 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
 
 
101
  reference_text = original_text['Reference_text'].values
102
 
103
  ##========= Buttons to the 4 tabs ========
104
+ col1, col2, col3, col4 = st.columns([1,1,1,1])
105
+ admission = col1.stbutton("🏥 Admission")
106
+
107
+ #with col1:
108
+ # st.button("🏥 Admission")
109
+ # #nav_page('Admission')
110
+ #
111
+ #with col2:
112
+ # st.button('📆Daily Narrative')
113
+ # #nav_page('Daily Narrative')
114
+ #
115
+ #with col3:
116
+ # st.button('Discharge Plan')
117
+ # #nav_page('Discharge Plan')
118
+ #with col4:
119
+ # 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