carisackc commited on
Commit
4e0ee30
1 Parent(s): 23c3992

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -165,7 +165,7 @@ with col1:
165
  st.button('Summarize')
166
  run_model(runtext)
167
  sentences=runtext.split('.')
168
- st.text_area('Reference text', str(reference_text))#,label_visibility="hidden")
169
  with col2:
170
  st.button('NER')
171
  doc = nlp(str(original_text2))
@@ -173,4 +173,10 @@ with col2:
173
  options = {"ents": [ "DISEASE", "CHEMICAL"],"colors": colors}
174
  ent_html = displacy.render(doc, style="ent", options=options)
175
  st.markdown(ent_html, unsafe_allow_html=True)
 
 
 
 
 
 
176
 
 
165
  st.button('Summarize')
166
  run_model(runtext)
167
  sentences=runtext.split('.')
168
+ #st.text_area('Reference text', str(reference_text))#,label_visibility="hidden")
169
  with col2:
170
  st.button('NER')
171
  doc = nlp(str(original_text2))
 
173
  options = {"ents": [ "DISEASE", "CHEMICAL"],"colors": colors}
174
  ent_html = displacy.render(doc, style="ent", options=options)
175
  st.markdown(ent_html, unsafe_allow_html=True)
176
+
177
+ col 3, col4 = st.columns(2)
178
+ with col3:
179
+ st.text_area('Reference text', str(reference_text))#,label_visibility="hidden")
180
+ with col4:
181
+ st.text_area('testing', str(reference_text))#,label_visibility="hidden")
182