Spaces:
Sleeping
Sleeping
Update sugerencias_nlp.py
Browse files- sugerencias_nlp.py +1 -1
sugerencias_nlp.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
import requests
|
3 |
|
4 |
HUGGINGFACE_API_TOKEN = os.environ.get("HF_TOKEN", "")
|
5 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
6 |
|
7 |
headers = {
|
8 |
"Authorization": f"Bearer {HUGGINGFACE_API_TOKEN}"
|
|
|
2 |
import requests
|
3 |
|
4 |
HUGGINGFACE_API_TOKEN = os.environ.get("HF_TOKEN", "")
|
5 |
+
API_URL = "https://api-inference.huggingface.co/models/huggingface/CodeBERTa-language-id"
|
6 |
|
7 |
headers = {
|
8 |
"Authorization": f"Bearer {HUGGINGFACE_API_TOKEN}"
|