Rhulli commited on
Commit
502cd2d
·
verified ·
1 Parent(s): 514f136

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def _clean_timex(ent: str) -> str:
31
  ent = ent.replace("</s>", "").strip()
32
  return re.sub(r"[\.]+$", "", ent)
33
 
34
- # --- Identificadores de los modelos ---
35
  NER_ID = "Rhulli/Roberta-ner-temporal-expresions-secondtrain"
36
  ID2LABEL = {0: "O", 1: "B-TIMEX", 2: "I-TIMEX"}
37
  BASE_ID = "google/gemma-2b-it"
 
31
  ent = ent.replace("</s>", "").strip()
32
  return re.sub(r"[\.]+$", "", ent)
33
 
34
+ # --- Identificadores de los modelos ----
35
  NER_ID = "Rhulli/Roberta-ner-temporal-expresions-secondtrain"
36
  ID2LABEL = {0: "O", 1: "B-TIMEX", 2: "I-TIMEX"}
37
  BASE_ID = "google/gemma-2b-it"