Spaces:
Runtime error
Runtime error
shrirangphadke
commited on
Commit
•
86bd7d5
1
Parent(s):
dccce3b
Update app.py
Browse files
app.py
CHANGED
@@ -5,12 +5,6 @@ import torch
|
|
5 |
# Load model directly
|
6 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
7 |
|
8 |
-
|
9 |
-
# Install necessary libraries
|
10 |
-
!pip install transformers
|
11 |
-
!pip install torch
|
12 |
-
!pip install vaderSentiment
|
13 |
-
|
14 |
import torch
|
15 |
from transformers import RobertaTokenizer, RobertaForSequenceClassification
|
16 |
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
|
|
|
5 |
# Load model directly
|
6 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
import torch
|
9 |
from transformers import RobertaTokenizer, RobertaForSequenceClassification
|
10 |
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
|