Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -153,21 +153,12 @@ def run_model(input_text):
|
|
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')
|
|
|
153 |
|
154 |
|
155 |
col1, col2 = st.columns([1,1])
|
|
|
156 |
with col1:
|
157 |
st.button('Summarize')
|
158 |
run_model(runtext)
|
159 |
sentences=runtext.split('.')
|
160 |
st.text_area('Reference text', str(reference_text))#,label_visibility="hidden")
|
161 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
|
163 |
with col2:
|
164 |
st.button('NER')
|