annafilina commited on
Commit
b2dfde8
·
1 Parent(s): 6899dc5

Update pages/answers.py

Browse files
Files changed (1) hide show
  1. pages/answers.py +0 -3
pages/answers.py CHANGED
@@ -68,9 +68,6 @@ def main():
68
  question = st.text_input("**:blue[Question]**", st.session_state['Question'], key='Question')
69
 
70
  if random_button:
71
- pair = random.choice(pairs)
72
- st.session_state['Context'] = pair['context']
73
- st.session_state['Question'] = pair['question']
74
  context = st.text_area("**:blue[Context]**", st.session_state['Context'], key='RandomContext')
75
  question = st.text_input("**:blue[Question]**", st.session_state['Question'], key='RandomQuestion')
76
 
 
68
  question = st.text_input("**:blue[Question]**", st.session_state['Question'], key='Question')
69
 
70
  if random_button:
 
 
 
71
  context = st.text_area("**:blue[Context]**", st.session_state['Context'], key='RandomContext')
72
  question = st.text_input("**:blue[Question]**", st.session_state['Question'], key='RandomQuestion')
73