rohaneng commited on
Commit
e284278
·
1 Parent(s): 172817d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -38,13 +38,13 @@ if uploaded_file is not None:
38
  # Display content
39
  for entry in parsed_data:
40
  st.subheader(f"ID: {entry['id']}")
41
- st.markdown("## Question")
42
  st.markdown(entry['question'], unsafe_allow_html=True)
43
- st.markdown("## Answer")
44
  try:
45
  st.write(json.dumps(entry['answer'], indent=4))
46
  except:
47
  st.markdown(entry['answer'], unsafe_allow_html=True)
48
- st.markdown("## Explanation")
49
  st.markdown(entry['explanation'], unsafe_allow_html=True) # Display HTML content
50
 
 
38
  # Display content
39
  for entry in parsed_data:
40
  st.subheader(f"ID: {entry['id']}")
41
+ st.markdown("### Question")
42
  st.markdown(entry['question'], unsafe_allow_html=True)
43
+ st.markdown("### Answer")
44
  try:
45
  st.write(json.dumps(entry['answer'], indent=4))
46
  except:
47
  st.markdown(entry['answer'], unsafe_allow_html=True)
48
+ st.markdown("### Explanation")
49
  st.markdown(entry['explanation'], unsafe_allow_html=True) # Display HTML content
50