AnishaG0201 commited on
Commit
221a124
1 Parent(s): ff6158d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.get('questions')
59
  st.write(questions)
60
 
61
  with col2:
62
  st.subheader("Answers")
63
- answers = response.get('answers')
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: