Spaces:
Running
Running
andrewgleave
commited on
Commit
•
15cfa35
1
Parent(s):
7768585
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from transformers import pipeline, AutoTokenizer, AutoModelForTokenClassificatio
|
|
8 |
|
9 |
MODELS = ["d4data/biomedical-ner-all"]
|
10 |
|
11 |
-
current_model = MODELS[
|
12 |
|
13 |
tokenizer = AutoTokenizer.from_pretrained(current_model)
|
14 |
model = AutoModelForTokenClassification.from_pretrained(current_model)
|
|
|
8 |
|
9 |
MODELS = ["d4data/biomedical-ner-all"]
|
10 |
|
11 |
+
current_model = MODELS[0]
|
12 |
|
13 |
tokenizer = AutoTokenizer.from_pretrained(current_model)
|
14 |
model = AutoModelForTokenClassification.from_pretrained(current_model)
|