gsarti commited on
Commit
9bc55ff
·
1 Parent(s): 6a50007

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ for lang in langs:
103
  attr = FeatureAttributionOutput.load(fpath, decompress=True)
104
  if st.checkbox(sentence_type.upper(), key=f"{lang}_{task_name}_{sentence_type}"):
105
  st.markdown(f"{attr.show(return_html=True, display=False, do_aggregation=False)}", unsafe_allow_html=True)
106
- except (urllib.HTTPError, urllib.URLError) as e:
107
  st.checkbox(sentence_type.upper() + " (NOT AVAILABLE)", key=f"{lang}_{task_name}_{sentence_type}", disabled=True)
108
 
109
 
 
103
  attr = FeatureAttributionOutput.load(fpath, decompress=True)
104
  if st.checkbox(sentence_type.upper(), key=f"{lang}_{task_name}_{sentence_type}"):
105
  st.markdown(f"{attr.show(return_html=True, display=False, do_aggregation=False)}", unsafe_allow_html=True)
106
+ except (urllib.error.HTTPError, urllib.error.URLError) as e:
107
  st.checkbox(sentence_type.upper() + " (NOT AVAILABLE)", key=f"{lang}_{task_name}_{sentence_type}", disabled=True)
108
 
109