Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ model_checkpoint = st.sidebar.radio("", model_list)
|
|
42 |
# aggregation = st.sidebar.radio("", ('first', 'simple', 'average', 'max', 'none'))
|
43 |
|
44 |
# st.sidebar.write("Please refer 'https://huggingface.co/transformers/_modules/transformers/pipelines/token_classification.html' for entity grouping with aggregation_strategy parameter.")
|
45 |
-
|
46 |
st.subheader("Select Text Input Method")
|
47 |
input_method = st.radio("", ('Select from Examples', 'Write or Paste New Text'))
|
48 |
if input_method == 'Select from Examples':
|
|
|
42 |
# aggregation = st.sidebar.radio("", ('first', 'simple', 'average', 'max', 'none'))
|
43 |
|
44 |
# st.sidebar.write("Please refer 'https://huggingface.co/transformers/_modules/transformers/pipelines/token_classification.html' for entity grouping with aggregation_strategy parameter.")
|
45 |
+
aggregation = 'first'
|
46 |
st.subheader("Select Text Input Method")
|
47 |
input_method = st.radio("", ('Select from Examples', 'Write or Paste New Text'))
|
48 |
if input_method == 'Select from Examples':
|