Skip to content

Commit

Permalink
Pass trust_remote_code in external_files_dataset_builder
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova committed Aug 22, 2024
1 parent 8599592 commit 227f2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/worker/tests/fixtures/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def hub_public_external_files(dataset_script_with_external_files_path: str) -> I

@pytest.fixture
def external_files_dataset_builder(hub_public_external_files: str) -> DatasetBuilder:
return load_dataset_builder(hub_public_external_files)
return load_dataset_builder(hub_public_external_files, trust_remote_code=True)


@pytest.fixture(scope="session")
Expand Down

0 comments on commit 227f2c4

Please sign in to comment.