AnishaG0201 commited on
Commit
15bb841
1 Parent(s): 5ffdc56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -58,18 +58,18 @@ def main():
58
 
59
 
60
  # Display questions and answers in a table
61
- if response:
62
  st.subheader("Quiz Questions and Answers:")
63
  # Prepare data for the table
64
  col1, col2 = st.columns(2)
65
  with col1:
66
  st.subheader("Questions")
67
- questions = response
68
  st.write(questions)
69
 
70
  with col2:
71
  st.subheader("Answers")
72
- answers = response
73
  st.write(answers)
74
 
75
 
 
58
 
59
 
60
  # Display questions and answers in a table
61
+ if questions:
62
  st.subheader("Quiz Questions and Answers:")
63
  # Prepare data for the table
64
  col1, col2 = st.columns(2)
65
  with col1:
66
  st.subheader("Questions")
67
+
68
  st.write(questions)
69
 
70
  with col2:
71
  st.subheader("Answers")
72
+
73
  st.write(answers)
74
 
75