EdgarDataScientist commited on
Commit
4e60df4
·
verified ·
1 Parent(s): ec8c90e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -17,6 +17,8 @@ import huggingface_hub
17
  from huggingface_hub import login
18
 
19
  # Authenticate with Hugging Face Hub
 
 
20
  pdf_path1 = huggingface_hub.hf_hub_download(repo_id="EdgarDataScientist/Diabetrek_AI", filename="Chrono 1.pdf")
21
  pdf_path2 = huggingface_hub.hf_hub_download(repo_id="EdgarDataScientist/Diabetrek_AI", filename="Chrono 2.pdf")
22
  pdf_path3 = huggingface_hub.hf_hub_download(repo_id="EdgarDataScientist/Diabetrek_AI", filename="Chrono 3.pdf")
 
17
  from huggingface_hub import login
18
 
19
  # Authenticate with Hugging Face Hub
20
+ from huggingface_hub import login
21
+ login(token="HF_TOKEN")
22
  pdf_path1 = huggingface_hub.hf_hub_download(repo_id="EdgarDataScientist/Diabetrek_AI", filename="Chrono 1.pdf")
23
  pdf_path2 = huggingface_hub.hf_hub_download(repo_id="EdgarDataScientist/Diabetrek_AI", filename="Chrono 2.pdf")
24
  pdf_path3 = huggingface_hub.hf_hub_download(repo_id="EdgarDataScientist/Diabetrek_AI", filename="Chrono 3.pdf")