Shredder commited on
Commit
b0154fd
1 Parent(s): e2f1c79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -147,6 +147,7 @@ if st.button('Analyze'):
147
  st.success(answer)
148
  st.write(get_sustainability(raw_answer))
149
  st.write(summarize_text(raw_answer))
 
150
  st.write(displacy.render(doc, style="ent"))
151
  else:
152
  st.write("Unable to call model, please select question and contract")
147
  st.success(answer)
148
  st.write(get_sustainability(raw_answer))
149
  st.write(summarize_text(raw_answer))
150
+ doc = nlp(raw_answer)
151
  st.write(displacy.render(doc, style="ent"))
152
  else:
153
  st.write("Unable to call model, please select question and contract")