Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
| 5 |
pos_tagger = pipeline(
|
| 6 |
model="projecte-aina/roberta-base-ca-cased-pos",
|
| 7 |
aggregation_strategy="simple",
|
| 8 |
-
|
| 9 |
)
|
| 10 |
|
| 11 |
# Function to get color for each POS tag
|
|
|
|
| 5 |
pos_tagger = pipeline(
|
| 6 |
model="projecte-aina/roberta-base-ca-cased-pos",
|
| 7 |
aggregation_strategy="simple",
|
| 8 |
+
|
| 9 |
)
|
| 10 |
|
| 11 |
# Function to get color for each POS tag
|