Leon4gr45 commited on
Commit
d16a7c7
·
verified ·
1 Parent(s): b9aa360

Update src/ui/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/ui/streamlit_app.py +1 -1
src/ui/streamlit_app.py CHANGED
@@ -242,7 +242,7 @@ def run_app():
242
  if top_hypotheses:
243
  for i, h in enumerate(top_hypotheses):
244
  with st.expander(f"Hypothesis {i+1}: Score {h.get('score', 'N/A')}", expanded=i==0):
245
- st.markdown(f"""**Hypothesis**: {h['hypothesis']}""")
246
 
247
  if "feedback" in h:
248
  st.markdown("**Feedback**:")
 
242
  if top_hypotheses:
243
  for i, h in enumerate(top_hypotheses):
244
  with st.expander(f"Hypothesis {i+1}: Score {h.get('score', 'N/A')}", expanded=i==0):
245
+ st.markdown(f"""**Hypothesis**: {h.get('hypothesis', h.get('statement', ''))}""")
246
 
247
  if "feedback" in h:
248
  st.markdown("**Feedback**:")