Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ from setfit import AbsaModel
|
|
3 |
|
4 |
# Load the ABSA model (assuming indo-setfit-absa-bert-base-restaurants is the aspect extraction model)
|
5 |
model = AbsaModel.from_pretrained(
|
6 |
-
"
|
7 |
-
"
|
8 |
spacy_model="id_core_news_trf",
|
9 |
)
|
10 |
|
|
|
3 |
|
4 |
# Load the ABSA model (assuming indo-setfit-absa-bert-base-restaurants is the aspect extraction model)
|
5 |
model = AbsaModel.from_pretrained(
|
6 |
+
"pahri/setfit-indo-resto-RM-ibu-imas-polarity",
|
7 |
+
"pahri/setfit-indo-resto-RM-ibu-imas-aspect",
|
8 |
spacy_model="id_core_news_trf",
|
9 |
)
|
10 |
|