Update sentiment.py
Browse files- sentiment.py +1 -1
sentiment.py
CHANGED
|
@@ -53,7 +53,7 @@ model.classifier = torch.nn.Linear(768, 2)
|
|
| 53 |
|
| 54 |
|
| 55 |
def get_sentiment(query):
|
| 56 |
-
|
| 57 |
filename = f"data/sentiment_analysis/{query}_results.pkl"
|
| 58 |
saved_data = load_data(filename)
|
| 59 |
|
|
|
|
| 53 |
|
| 54 |
|
| 55 |
def get_sentiment(query):
|
| 56 |
+
|
| 57 |
filename = f"data/sentiment_analysis/{query}_results.pkl"
|
| 58 |
saved_data = load_data(filename)
|
| 59 |
|