Spaces:
Runtime error
Runtime error
Update app.py
Browse filesremoved from pt
app.py
CHANGED
@@ -5,7 +5,6 @@ from transformers import pipeline
|
|
5 |
pos_tagger = pipeline(
|
6 |
model="Jzuluaga/bert-base-token-classification-for-atc-en-uwb-atcc",
|
7 |
aggregation_strategy="simple",
|
8 |
-
from_pt=True # Load model from PyTorch weights
|
9 |
)
|
10 |
|
11 |
# Function to get color for each POS tag
|
|
|
5 |
pos_tagger = pipeline(
|
6 |
model="Jzuluaga/bert-base-token-classification-for-atc-en-uwb-atcc",
|
7 |
aggregation_strategy="simple",
|
|
|
8 |
)
|
9 |
|
10 |
# Function to get color for each POS tag
|