jethrovic commited on
Commit
d587dd1
·
1 Parent(s): f0fc94a

Update app.py

Browse files

removed from pt

Files changed (1) hide show
  1. app.py +0 -1
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