Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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 |
|