IsaacKerson commited on
Commit
09b6075
1 Parent(s): 0672829

append input_tups

Browse files
Files changed (1) hide show
  1. pages/upload.py +5 -2
pages/upload.py CHANGED
@@ -16,8 +16,11 @@ def app():
16
 
17
  input_tups = []
18
 
19
- for idx in range(1, num_items):
20
- st.write(st.session_state[f'word_{str(idx)}'])
 
 
 
21
 
22
  if "form_upload" not in st.session_state:
23
  st.markdown("## Upload Data")
 
16
 
17
  input_tups = []
18
 
19
+ for idx in range(1, num_items + 1):
20
+ input_tups.append((st.session_state[f'word_{str(idx)}'], st.session_state[f'def_{str(idx)}'], \
21
+ st.session_state[f'ex_{str(idx)}'], st.session_state[f'tag_{str(idx)}']))
22
+
23
+ st.write(input_tups)
24
 
25
  if "form_upload" not in st.session_state:
26
  st.markdown("## Upload Data")