bourdoiscatie commited on
Commit
9935db0
1 Parent(s): 8f97a6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def load_model(version):
20
  result = ner(text)
21
  return result
22
  else:
23
- ner = pipeline('token-classification', model='bourdoiscatie/Camembert-NER-base-frenchNER', tokenizer='bourdoiscatie/Camembert-NER-base-frenchNER', grouped_entities=True)
24
  result = ner(text)
25
  return result
26
 
 
20
  result = ner(text)
21
  return result
22
  else:
23
+ ner = pipeline('token-classification', model='bourdoiscatie/Camembert-NER-base-frenchNER', tokenizer='bourdoiscatie/Camembert-NER-base-frenchNER', grouped_entities=True)
24
  result = ner(text)
25
  return result
26