AnishaG0201 commited on
Commit
2a95f27
1 Parent(s): 3b08195

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -61,18 +61,18 @@ def main():
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
- st.write("printing the response",questions,answers)
76
 
77
  else:
78
  st.warning("No Quiz Questions and Answers")
 
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
+
76
 
77
  else:
78
  st.warning("No Quiz Questions and Answers")