import wandb wandb.login() run = wandb.init( project="barnacles", job_type='upload-model' ) artifact = wandb.Artifact(name="sam_base", type="model") artifact.add_file("./sam_vit_h_4b8939.pth") artifact.add_file("./requirements.txt") artifact.add_file("./app.py") run.log_artifact(artifact) run.finish()