Skip to content

Commit

Permalink
add prints
Browse files Browse the repository at this point in the history
  • Loading branch information
SamanehSaadat committed Apr 29, 2024
1 parent a5da750 commit 19153a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keras_nlp/utils/preset_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def list_subclasses(cls):


def get_file(preset, path):
print("get_file: ", path)
"""Download a preset file in necessary and return the local path."""
# TODO: Add tests for FileNotFound exceptions.
if not isinstance(preset, str):
Expand Down Expand Up @@ -193,6 +194,7 @@ def get_file(preset, path):


def check_file_exists(preset, path):
print("check_file_exists: ", path)
try:
get_file(preset, path)
except FileNotFoundError:
Expand Down

0 comments on commit 19153a6

Please sign in to comment.