Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/projecte-aina/multiner_demo
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ load_dotenv()
|
|
10 |
|
11 |
MAX_INPUT_CHARACTERS= int(os.environ.get("MAX_INPUT_CHARACTERS", default=1000))
|
12 |
|
13 |
-
ner_pipeline = pipeline("token-classification", model="projecte-aina/multiner_ceil",aggregation_strategy="
|
14 |
|
15 |
def submit_input(text):
|
16 |
if text.strip() == "":
|
|
|
10 |
|
11 |
MAX_INPUT_CHARACTERS= int(os.environ.get("MAX_INPUT_CHARACTERS", default=1000))
|
12 |
|
13 |
+
ner_pipeline = pipeline("token-classification", model="projecte-aina/multiner_ceil",aggregation_strategy="simple")
|
14 |
|
15 |
def submit_input(text):
|
16 |
if text.strip() == "":
|