Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|