Skip to content

Commit 2157dfa

Browse files
Bump required kagglehub version to 0.2.4. (keras-team#1600)
1 parent 4113f74 commit 2157dfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keras_nlp/utils/preset_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,9 @@ def upload_preset(
444444
"Uploading a model to Kaggle Hub requires the `kagglehub` package. "
445445
"Please install with `pip install kagglehub`."
446446
)
447-
if parse(kagglehub.__version__) < parse("0.2.1"):
447+
if parse(kagglehub.__version__) < parse("0.2.4"):
448448
raise ImportError(
449-
"Uploading a model to Kaggle Hub requires the `kagglehub` package version `0.2.1` or higher. "
449+
"Uploading a model to Kaggle Hub requires the `kagglehub` package version `0.2.4` or higher. "
450450
"Please upgrade with `pip install --upgrade kagglehub`."
451451
)
452452
kaggle_handle = uri.removeprefix(KAGGLE_PREFIX)

0 commit comments

Comments
 (0)