Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,8 +3,8 @@ import os
|
|
| 3 |
from huggingface_hub import hf_hub_download
|
| 4 |
from huggingface_hub import login
|
| 5 |
|
| 6 |
-
|
| 7 |
-
token = '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'
|
| 8 |
# Download from a dataset
|
| 9 |
hf_hub_download(repo_id="Hitendri/DFM_PoC",local_dir=os.getcwd(), filename="main.py", repo_type="dataset",use_auth_token=token)
|
| 10 |
|
|
|
|
| 3 |
from huggingface_hub import hf_hub_download
|
| 4 |
from huggingface_hub import login
|
| 5 |
|
| 6 |
+
token=os.environ["Auth_token"]
|
| 7 |
+
#token = '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'
|
| 8 |
# Download from a dataset
|
| 9 |
hf_hub_download(repo_id="Hitendri/DFM_PoC",local_dir=os.getcwd(), filename="main.py", repo_type="dataset",use_auth_token=token)
|
| 10 |
|