Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -24,7 +24,7 @@ def download_and_get_path_for_provided_file(path: str) -> str:
|
|
| 24 |
try:
|
| 25 |
file_path = hf_hub_download(
|
| 26 |
repo_id="gaia-benchmark/GAIA",
|
| 27 |
-
filename=f"2023/{dataset}/{
|
| 28 |
repo_type="dataset",
|
| 29 |
token=os.environ['HF_TOKEN'])
|
| 30 |
if file_path:
|
|
|
|
| 24 |
try:
|
| 25 |
file_path = hf_hub_download(
|
| 26 |
repo_id="gaia-benchmark/GAIA",
|
| 27 |
+
filename=f"2023/{dataset}/{path}",
|
| 28 |
repo_type="dataset",
|
| 29 |
token=os.environ['HF_TOKEN'])
|
| 30 |
if file_path:
|