Skip to content

Commit

Permalink
format run.py with black
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesGaydon committed Oct 12, 2023
1 parent 55283a8 commit 3f039f2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,7 @@ def launch_hdf5(config: DictConfig):

log.info(f"Task: {task_name}")

if task_name in [
TASK_NAMES.FIT.value,
TASK_NAMES.TEST.value,
TASK_NAMES.FINETUNE.value,
]:
if task_name in [TASK_NAMES.FIT.value, TASK_NAMES.TEST.value, TASK_NAMES.FINETUNE.value]:
# load environment variables from `.env` file if it exists
# recursively searches for `.env` in all folders starting from work dir
dotenv.load_dotenv(override=True)
Expand Down

0 comments on commit 3f039f2

Please sign in to comment.