Skip to content

Commit

Permalink
Update type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukhil Patel authored and Sukhil Patel committed Aug 6, 2024
1 parent 1a5cfdc commit e2b27ac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/checkpoint_to_huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"""

import tempfile
from typing import Optional

import typer
import wandb
Expand All @@ -21,8 +20,8 @@
def push_to_huggingface(
checkpoint_dir_paths: list[str],
val_best: bool = True,
wandb_ids: list[str] = [],
local_path: Optional[str] = None,
wandb_ids: list[str] | None = [],
local_path: str | None = None,
push_to_hub: bool = True,
):
"""Push a local model to pvnet_v2 huggingface model repo
Expand Down

0 comments on commit e2b27ac

Please sign in to comment.