dexay commited on
Commit
b983e5a
·
1 Parent(s): 4a68892

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ st.write("This tool lets you extract relation triples concerning interactions be
15
  st.write("It is the result of an end of studies project within ESI school and dedicated to biomedical researchers looking to extract precise information about the subject without digging into long publications.")
16
 
17
  form = st.form(key='my-form')
18
- x = form.text_area('Enter text', height=275)
19
  submit = form.form_submit_button('Submit')
20
 
21
  if submit and len(x) != 0:
@@ -232,7 +232,7 @@ if submit and len(x) != 0:
232
  #edccan += [[lstSentEnc[i],lstSentEnt[i][0]+" ["+lstSentbilbl[i][0][2:]+"]", lstSentEnt[i][1]+" ["+lstSentbilbl[i][1][2:]+"]",outrelbl[i][:-7]]]
233
 
234
  edccanbis = postcor(edccanbis[3:])
235
-
236
 
237
  for e in edccanbis:
238
  edccan += [[e[3],e[0]+" ["+e[-1][0][2:]+"]", e[1]+" ["+e[-1][1][2:]+"]",e[2][:-7]]]
 
15
  st.write("It is the result of an end of studies project within ESI school and dedicated to biomedical researchers looking to extract precise information about the subject without digging into long publications.")
16
 
17
  form = st.form(key='my-form')
18
+ x = form.text_area('Enter text', height=250)
19
  submit = form.form_submit_button('Submit')
20
 
21
  if submit and len(x) != 0:
 
232
  #edccan += [[lstSentEnc[i],lstSentEnt[i][0]+" ["+lstSentbilbl[i][0][2:]+"]", lstSentEnt[i][1]+" ["+lstSentbilbl[i][1][2:]+"]",outrelbl[i][:-7]]]
233
 
234
  edccanbis = postcor(edccanbis[3:])
235
+ st.markdown(edccanbis)
236
 
237
  for e in edccanbis:
238
  edccan += [[e[3],e[0]+" ["+e[-1][0][2:]+"]", e[1]+" ["+e[-1][1][2:]+"]",e[2][:-7]]]