mjlee
commited on
Commit
·
3a9c126
1
Parent(s):
e963210
0708_6
Browse files
app.py
CHANGED
@@ -5,10 +5,10 @@ import os
|
|
5 |
from config import *
|
6 |
device = torch.device('cuda' if torch.cuda.is_available() else "cpu")
|
7 |
|
8 |
-
ENTITY_REPO_ID = '
|
9 |
ENTITY_FILENAME = "entity_model.pt"
|
10 |
|
11 |
-
SENTIMENT_REPO_ID = '
|
12 |
SENTIMENT_FILENAME = "sentiment_model.pt"
|
13 |
|
14 |
print("downloading model...")
|
|
|
5 |
from config import *
|
6 |
device = torch.device('cuda' if torch.cuda.is_available() else "cpu")
|
7 |
|
8 |
+
ENTITY_REPO_ID = 'vaivTA/absa_v2_entity'
|
9 |
ENTITY_FILENAME = "entity_model.pt"
|
10 |
|
11 |
+
SENTIMENT_REPO_ID = 'vaivTA/absa_v2_sentiment'
|
12 |
SENTIMENT_FILENAME = "sentiment_model.pt"
|
13 |
|
14 |
print("downloading model...")
|