Arkay92 commited on
Commit
6883dbd
·
verified ·
1 Parent(s): 617edd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ if st.button("Analyze Contract"):
209
  st.markdown("### Analysis Output")
210
 
211
  keyword = "assistant"
212
- text_after_keyword = final_answer.rsplit(keyword, 1)[-1].strip()
213
 
214
  st.text_area("Output", text_after_keyword, height=400)
215
 
 
209
  st.markdown("### Analysis Output")
210
 
211
  keyword = "assistant"
212
+ text_after_keyword = result.rsplit(keyword, 1)[-1].strip()
213
 
214
  st.text_area("Output", text_after_keyword, height=400)
215