apply Black 25.11.0 style in fbcode/deeplearning/projects (21/92)
Summary: Formats the covered files with pyfmt. paintitblack Reviewed By: itamaro Differential Revision: D90476315 fbshipit-source-id: ee94c471788b8e7d067813d8b3e0311214d17f3f
This commit is contained in:
committed by
meta-codesync[bot]
parent
7b89b8fc3f
commit
11dec2936d
@@ -11,7 +11,6 @@ from concurrent.futures import as_completed, ThreadPoolExecutor
|
||||
from pathlib import Path
|
||||
|
||||
import yt_dlp
|
||||
|
||||
from utils import (
|
||||
annotation_files,
|
||||
config,
|
||||
@@ -244,9 +243,9 @@ def download_sav():
|
||||
def main():
|
||||
assert len(sys.argv) > 1, "You have to provide the name of the dataset"
|
||||
dataset_name = sys.argv[1]
|
||||
assert (
|
||||
dataset_name in annotation_files
|
||||
), f"The dataset can be one of {list(annotation_files.keys())}"
|
||||
assert dataset_name in annotation_files, (
|
||||
f"The dataset can be one of {list(annotation_files.keys())}"
|
||||
)
|
||||
|
||||
if dataset_name == "yt1b":
|
||||
download_youtube()
|
||||
|
||||
Reference in New Issue
Block a user