akdeniz27 commited on
Commit
557a1ee
·
1 Parent(s): c558c48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ st.sidebar.header("Select Aggregation Strategy Type")
36
  if model_checkpoint == "akdeniz27/xlm-roberta-base-turkish-ner":
37
  aggregation = st.sidebar.radio("", ('simple', 'none'))
38
  st.sidebar.write(xlm_agg_strategy_info)
39
- elif model_checkpoint == "xlm-roberta-large-finetuned-conll03-english" or model_checkpoint == "tner/tner-xlm-roberta-base-ontonotes5":
40
  aggregation = st.sidebar.radio("", ('simple', 'none'))
41
  st.sidebar.write(xlm_agg_strategy_info)
42
  st.sidebar.write("")
 
36
  if model_checkpoint == "akdeniz27/xlm-roberta-base-turkish-ner":
37
  aggregation = st.sidebar.radio("", ('simple', 'none'))
38
  st.sidebar.write(xlm_agg_strategy_info)
39
+ elif model_checkpoint == "xlm-roberta-large-finetuned-conll03-english": # or model_checkpoint == "tner/tner-xlm-roberta-base-ontonotes5":
40
  aggregation = st.sidebar.radio("", ('simple', 'none'))
41
  st.sidebar.write(xlm_agg_strategy_info)
42
  st.sidebar.write("")