BlueberryChickenPie commited on
Commit
ca25d44
1 Parent(s): 1b2bf76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
  from flair.data import Sentence
4
  from flair.models import SequenceTagger
5
 
6
- classifier = pipeline('token-classification', model='flair/ner-german')
7
  def main():
8
  st.title("4 Class German NER")
9
  with st.form("text_field"):
 
3
  from flair.data import Sentence
4
  from flair.models import SequenceTagger
5
 
6
+ classifier = pipeline('token-classification', model='mrm8488/bert-base-german-finetuned-ler')
7
  def main():
8
  st.title("4 Class German NER")
9
  with st.form("text_field"):