Update app.py
Browse files
app.py
CHANGED
@@ -386,11 +386,11 @@ def main(myargs):
|
|
386 |
min_dist = st.sidebar.slider("Minimal Distance", min_value=0.1, max_value=0.99, step=0.05, value=0.1)
|
387 |
st.session_state['min_dist'] = min_dist
|
388 |
|
389 |
-
json_out = st.sidebar.checkbox('Display Json',value = True,key='
|
390 |
st.session_state['json_out'] = json_out
|
391 |
|
392 |
if st.session_state['input_type'] == 'Text':
|
393 |
-
bert_lime = st.sidebar.checkbox('Display BERT Interpretability',value = False,key='
|
394 |
st.session_state['bert_lime'] = bert_lime
|
395 |
else:
|
396 |
st.session_state['bert_lime'] = False
|
|
|
386 |
min_dist = st.sidebar.slider("Minimal Distance", min_value=0.1, max_value=0.99, step=0.05, value=0.1)
|
387 |
st.session_state['min_dist'] = min_dist
|
388 |
|
389 |
+
json_out = st.sidebar.checkbox('Display Json',value = True,key='check1')
|
390 |
st.session_state['json_out'] = json_out
|
391 |
|
392 |
if st.session_state['input_type'] == 'Text':
|
393 |
+
bert_lime = st.sidebar.checkbox('Display BERT Interpretability',value = False,key='check2')
|
394 |
st.session_state['bert_lime'] = bert_lime
|
395 |
else:
|
396 |
st.session_state['bert_lime'] = False
|