Wootang01 commited on
Commit
f27c2de
1 Parent(s): 41386c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -28,6 +28,8 @@ if model_checkpoint == "xlm-roberta-large-finetuned-conll03-english":
28
  aggregation = st.sidebar.radio("", ('simple', 'none'))
29
  st.sidebar.write(xlm_agg_strategy_info)
30
  st.sidebar.write("")
 
 
31
 
32
  st.subheader("Select Text Input Method")
33
  input_method = st.radio("", ('Select from Examples', 'Write or Paste New Text'))
 
28
  aggregation = st.sidebar.radio("", ('simple', 'none'))
29
  st.sidebar.write(xlm_agg_strategy_info)
30
  st.sidebar.write("")
31
+ elif model_checkpoint == "spacy/en_core_web_sm":
32
+ aggregation = "none"
33
 
34
  st.subheader("Select Text Input Method")
35
  input_method = st.radio("", ('Select from Examples', 'Write or Paste New Text'))