dylangamachefl commited on
Commit
1ccd69b
·
1 Parent(s): 76cae31

Fixed token mismatch

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ else:
19
  load_dotenv()
20
 
21
 
22
- API_TOKEN = os.getenv("HUGGING_FACE_API_TOKEN")
23
  API_URL_BASE = "https://api-inference.huggingface.co/models/"
24
  HEADERS = {"Authorization": f"Bearer {API_TOKEN}"}
25
 
 
19
  load_dotenv()
20
 
21
 
22
+ API_TOKEN = os.getenv("HF_TOKEN")
23
  API_URL_BASE = "https://api-inference.huggingface.co/models/"
24
  HEADERS = {"Authorization": f"Bearer {API_TOKEN}"}
25