Update app.py
Browse files
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 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
|
| 75 |
-
|
| 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")
|