Update app.py
Browse files
app.py
CHANGED
|
@@ -55,12 +55,12 @@ def main():
|
|
| 55 |
col1, col2 = st.columns(2)
|
| 56 |
with col1:
|
| 57 |
st.subheader("Questions")
|
| 58 |
-
questions = response
|
| 59 |
st.write(questions)
|
| 60 |
|
| 61 |
with col2:
|
| 62 |
st.subheader("Answers")
|
| 63 |
-
answers = response
|
| 64 |
st.write(answers)
|
| 65 |
|
| 66 |
else:
|
|
|
|
| 55 |
col1, col2 = st.columns(2)
|
| 56 |
with col1:
|
| 57 |
st.subheader("Questions")
|
| 58 |
+
questions = response[0]
|
| 59 |
st.write(questions)
|
| 60 |
|
| 61 |
with col2:
|
| 62 |
st.subheader("Answers")
|
| 63 |
+
answers = response[1]
|
| 64 |
st.write(answers)
|
| 65 |
|
| 66 |
else:
|