Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from huggingface_hub import HfApi
|
|
4 |
import pandas as pd
|
5 |
|
6 |
# Initialize HF API
|
7 |
-
api = HfApi()
|
8 |
|
9 |
def get_branches(repo_id="lvwerra/fineweb-ultra"):
|
10 |
"""Get all branches from the dataset repository"""
|
|
|
4 |
import pandas as pd
|
5 |
|
6 |
# Initialize HF API
|
7 |
+
api = HfApi(token=os.getenv("HF_TOKEN"))
|
8 |
|
9 |
def get_branches(repo_id="lvwerra/fineweb-ultra"):
|
10 |
"""Get all branches from the dataset repository"""
|