EdgarDataScientist commited on
Commit
d22cc2b
·
verified ·
1 Parent(s): b1f3c46

Update app.py

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