Spaces:
Sleeping
Sleeping
update
Browse files
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://
|
| 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:
|