jonathanjordan21 commited on
Commit
b2bed46
·
verified ·
1 Parent(s): 8dacc67

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -45,7 +45,7 @@ def detect_absa(request: AbsaRequest):
45
  text_input = f"{request.text} [SEP] {request.aspect}"
46
 
47
  # Prediksi sentimen
48
- pred = absa_pipe(text_input)
49
 
50
  return {
51
  "absa":pred,
 
45
  text_input = f"{request.text} [SEP] {request.aspect}"
46
 
47
  # Prediksi sentimen
48
+ pred = absa_model(text_input)
49
 
50
  return {
51
  "absa":pred,