legaltextai commited on
Commit
4eb682a
·
verified ·
1 Parent(s): cdb5bd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -67,6 +67,7 @@ with tab1:
67
  if search_query:
68
  with st.spinner("Searching for cases..."):
69
  text = extract_text_from_api(search_query)
 
70
  if text:
71
  #st.write(text)
72
  summary = get_summary(text)
 
67
  if search_query:
68
  with st.spinner("Searching for cases..."):
69
  text = extract_text_from_api(search_query)
70
+ st.write(summary.candidates[0].safety_ratings)
71
  if text:
72
  #st.write(text)
73
  summary = get_summary(text)