Spaces:
Runtime error
Runtime error
taka-yamakoshi
commited on
Commit
·
58309bd
1
Parent(s):
b6390e8
debug
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ if __name__=='__main__':
|
|
142 |
annotate_mask(2,sent_2)
|
143 |
st.write(st.session_state['mask_locs_1'])
|
144 |
st.write(st.session_state['mask_locs_2'])
|
145 |
-
if st.button('Confirm'):
|
146 |
st.session_state['page_status'] = 'annotate_options'
|
147 |
main_area.empty()
|
148 |
|
@@ -154,7 +154,7 @@ if __name__=='__main__':
|
|
154 |
st.write('2. Select options click "Confirm"')
|
155 |
st.session_state[f'option_locs_1'] = annotate_options(1,sent_1)
|
156 |
st.session_state[f'option_locs_2'] = annotate_options(2,sent_2)
|
157 |
-
if st.button('Confirm'):
|
158 |
st.session_state['page_status'] = 'analysis'
|
159 |
main_area.empty()
|
160 |
|
|
|
142 |
annotate_mask(2,sent_2)
|
143 |
st.write(st.session_state['mask_locs_1'])
|
144 |
st.write(st.session_state['mask_locs_2'])
|
145 |
+
if st.button('Confirm',key='mask'):
|
146 |
st.session_state['page_status'] = 'annotate_options'
|
147 |
main_area.empty()
|
148 |
|
|
|
154 |
st.write('2. Select options click "Confirm"')
|
155 |
st.session_state[f'option_locs_1'] = annotate_options(1,sent_1)
|
156 |
st.session_state[f'option_locs_2'] = annotate_options(2,sent_2)
|
157 |
+
if st.button('Confirm',key='option'):
|
158 |
st.session_state['page_status'] = 'analysis'
|
159 |
main_area.empty()
|
160 |
|