aasthav18 commited on
Commit
2e7bbd8
Β·
1 Parent(s): 886194a

Use fallback sentiment model

Browse files
Files changed (1) hide show
  1. backend/nlp/sentiment.py +1 -1
backend/nlp/sentiment.py CHANGED
@@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
26
 
27
  # ─── Model config ─────────────────────────────────────────────────────────
28
  MODEL_ID = "cardiffnlp/twitter-roberta-base-sentiment-latest"
29
- FALLBACK_MODE = False # Set True to skip transformer download
30
 
31
  # ─── Aspect keywords for aspect-based sentiment ───────────────────────────
32
  ASPECT_KEYWORDS = {
 
26
 
27
  # ─── Model config ─────────────────────────────────────────────────────────
28
  MODEL_ID = "cardiffnlp/twitter-roberta-base-sentiment-latest"
29
+ FALLBACK_MODE = True # Set True to skip transformer download
30
 
31
  # ─── Aspect keywords for aspect-based sentiment ───────────────────────────
32
  ASPECT_KEYWORDS = {