Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -153,24 +153,21 @@ def run_model(input_text):
|
|
| 153 |
|
| 154 |
|
| 155 |
col1, col2 = st.columns([1,1])
|
| 156 |
-
|
| 157 |
with col1:
|
| 158 |
st.button('Summarize')
|
| 159 |
run_model(runtext)
|
| 160 |
sentences=runtext.split('.')
|
| 161 |
st.text_area('Reference text', str(reference_text))#,label_visibility="hidden")
|
| 162 |
|
| 163 |
-
with
|
| 164 |
st.subheader("PROBLEM")
|
| 165 |
|
| 166 |
|
| 167 |
-
with
|
| 168 |
st.subheader("DIAGNOSIS")
|
| 169 |
|
| 170 |
-
|
| 171 |
-
st.subheader("MEDICATION")
|
| 172 |
-
with col4_tab1:
|
| 173 |
-
st.subheader("PROCEDURE")
|
| 174 |
|
| 175 |
with col2:
|
| 176 |
st.button('NER')
|
|
|
|
| 153 |
|
| 154 |
|
| 155 |
col1, col2 = st.columns([1,1])
|
| 156 |
+
tab1, tab2 = st.tabs(["Problem/Issue", "Medication"])
|
| 157 |
with col1:
|
| 158 |
st.button('Summarize')
|
| 159 |
run_model(runtext)
|
| 160 |
sentences=runtext.split('.')
|
| 161 |
st.text_area('Reference text', str(reference_text))#,label_visibility="hidden")
|
| 162 |
|
| 163 |
+
with tab1:
|
| 164 |
st.subheader("PROBLEM")
|
| 165 |
|
| 166 |
|
| 167 |
+
with tab2:
|
| 168 |
st.subheader("DIAGNOSIS")
|
| 169 |
|
| 170 |
+
|
|
|
|
|
|
|
|
|
|
| 171 |
|
| 172 |
with col2:
|
| 173 |
st.button('NER')
|