Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ class Emotionclass:
|
|
| 9 |
self.pipeline = pipeline(
|
| 10 |
"text-classification",
|
| 11 |
model=self.model,
|
|
|
|
| 12 |
return_all_scores=True,
|
| 13 |
)
|
| 14 |
|
|
|
|
| 9 |
self.pipeline = pipeline(
|
| 10 |
"text-classification",
|
| 11 |
model=self.model,
|
| 12 |
+
tokenizer=self.tokenizer,
|
| 13 |
return_all_scores=True,
|
| 14 |
)
|
| 15 |
|