Skip to content

Commit 0b0c34b

Browse files
author
Preetam Joshi
committed
Fixed bug in the example app
1 parent cf93790 commit 0b0c34b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/examples/langchain_summarization_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656

5757
# Display the Aimon Rely response
5858
st.header('Aimon Rely - Hallucination Detector Response')
59-
st.json(ar_response['hallucination'])
59+
st.json(ar_response[0]['hallucination'])
6060

6161
st.header('Aimon Rely - Model Quality Detector Response')
62-
st.json(ar_response['quality_metrics']['results'])
62+
st.json(ar_response[0]['quality_metrics']['results'])
6363

6464

6565
except InvalidAPIKeyError as ivk:

0 commit comments

Comments
 (0)