manue commited on
Commit
e2d876b
·
1 Parent(s): 82b5d0b

Fix model path in sentiment pipeline initialization

Browse files
Files changed (1) hide show
  1. model/sentiment.py +1 -1
model/sentiment.py CHANGED
@@ -3,6 +3,6 @@ from typing import Any
3
 
4
  class Sentiment:
5
  def __init__(self, line: str) -> (list | list[Any] | Any | None):
6
- self.pipe = pipeline("text-classification", model='/feel-it-italian-sentiment')
7
  self.result = self.pipe(line)
8
 
 
3
 
4
  class Sentiment:
5
  def __init__(self, line: str) -> (list | list[Any] | Any | None):
6
+ self.pipe = pipeline("text-classification", model='feel-it-italian-sentiment')
7
  self.result = self.pipe(line)
8