Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("")
|