Skip to content

Commit

Permalink
Apply black formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
shermansiu committed Oct 15, 2023
1 parent 0626f30 commit 641df4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions promptsource/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def show_text(t, width=WIDTH, with_markdown=False):
pool.join()

results = []
for (dataset_name, subset_name) in template_collection.keys:
for dataset_name, subset_name in template_collection.keys:
# Collect split sizes (train, validation and test)
if dataset_name not in all_infos:
infos = get_dataset_infos(dataset_name)
Expand Down Expand Up @@ -298,7 +298,6 @@ def show_text(t, width=WIDTH, with_markdown=False):
# If a particular dataset is selected, loads dataset and template information
#
if dataset_key is not None:

#
# Check for subconfigurations (i.e. subsets)
#
Expand Down
1 change: 0 additions & 1 deletion promptsource/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@ class TemplateCollection:
"""

def __init__(self):

# Dict of all the DatasetTemplates, key is the tuple (dataset_name, subset_name)
self.datasets_templates: Dict[(str, Optional[str]), DatasetTemplates] = self._collect_datasets()

Expand Down

0 comments on commit 641df4c

Please sign in to comment.