Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
c5bb23a
1
Parent(s):
67c2a03
update app
Browse files
app.py
CHANGED
@@ -195,7 +195,7 @@ def classify_tokens(text):
|
|
195 |
'p.Whole-p.Circumstance': '#c70411',
|
196 |
'p.Purpose-p.Goal': '#f2f199'}
|
197 |
|
198 |
-
token_classifier = pipeline("token-classification", model="WesScivetti/
|
199 |
aggregation_strategy="simple")
|
200 |
|
201 |
results = token_classifier(text)
|
|
|
195 |
'p.Whole-p.Circumstance': '#c70411',
|
196 |
'p.Purpose-p.Goal': '#f2f199'}
|
197 |
|
198 |
+
token_classifier = pipeline("token-classification", model="WesScivetti/SNACS_Multilingual",
|
199 |
aggregation_strategy="simple")
|
200 |
|
201 |
results = token_classifier(text)
|