cmbtest commited on
Commit
f7efaf2
·
verified ·
1 Parent(s): b221f79
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from io import StringIO
10
  # CONFIGURAÇÃO
11
  # =====================================================
12
  MODEL_ID = "dslim/bert-base-NER"
13
- API_URL = f"https://api-inference.huggingface.co/models/{MODEL_ID}"
14
 
15
  HF_API_TOKEN = os.getenv("HF_API_TOKEN")
16
  if not HF_API_TOKEN:
 
10
  # CONFIGURAÇÃO
11
  # =====================================================
12
  MODEL_ID = "dslim/bert-base-NER"
13
+ API_URL = f"https://router.huggingface.co/{MODEL_ID}"
14
 
15
  HF_API_TOKEN = os.getenv("HF_API_TOKEN")
16
  if not HF_API_TOKEN: