Update app.py
Browse files
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")
|