Skip to content

Commit 063cf93

Browse files
committed
fix
1 parent 3ff0752 commit 063cf93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/litmodels/io/gateway.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from lightning_utilities import module_available
88
from torch.nn import Module
99

10-
from litmodels.io.cloud import download_model_file, upload_model_files
10+
from litmodels.io.cloud import download_model_file, upload_model_file
1111

1212
if module_available("torch"):
1313
import torch
@@ -49,7 +49,7 @@ def upload_model(
4949
path = str(model)
5050
else:
5151
raise ValueError(f"Unsupported model type {type(model)}")
52-
return upload_model_files(
52+
return upload_model_file(
5353
path=path,
5454
name=name,
5555
progress_bar=progress_bar,

0 commit comments

Comments
 (0)