gaidasalsaa commited on
Commit
e4e76f9
Β·
1 Parent(s): 3fe7649

add keyword

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ HF_MODEL_REPO = "gaidasalsaa/indobertweet-xstress-model"
17
  BASE_MODEL = "indolem/indobertweet-base-uncased"
18
  PT_FILE = "best_indobertweet.pth"
19
 
20
- BEARER_TOKEN = "AAAAAAAAAAAAAAAAAAAAAJ2E5gEAAAAAqI8spYdCkuLJqRqh7Q0p7ws%2FEas%3DeM10WIqzHTwW3LrTQ3adqzJ4HIS3eRdhLqNIRjMwi4gBVTrEfv"
21
 
22
  # =====================================================
23
  # GLOBAL MODEL STORAGE
@@ -122,7 +122,7 @@ def extract_keywords(tweets):
122
  "sedih", "tertekan", "muak", "bosan", "frustasi",
123
  "gelisah", "cemas", "khawatir", "marah","keos", "demot", "down",
124
  "bete", "bt", "jenuh", "penat", "gila", "😭", "😩", "πŸ˜”", "😞", "😫",
125
- "sedih", "galau", "panic", "nangis", "menangis", "stressful"
126
  ]
127
 
128
  found = set()
 
17
  BASE_MODEL = "indolem/indobertweet-base-uncased"
18
  PT_FILE = "best_indobertweet.pth"
19
 
20
+ BEARER_TOKEN = "AAAAAAAAAAAAAAAAAAAAADXr5gEAAAAAnQZgkYRrC4iM5WTblBxDyt58oj8%3DriQZkuHuvRL6Suc3rmDhD3umqbHaxwim2Tfb34rfQpnKqf9Xhd"
21
 
22
  # =====================================================
23
  # GLOBAL MODEL STORAGE
 
122
  "sedih", "tertekan", "muak", "bosan", "frustasi",
123
  "gelisah", "cemas", "khawatir", "marah","keos", "demot", "down",
124
  "bete", "bt", "jenuh", "penat", "gila", "😭", "😩", "πŸ˜”", "😞", "😫",
125
+ "sedih", "galau", "panic", "nangis", "menangis", "stressful",
126
  ]
127
 
128
  found = set()