Skip to content

Commit

Permalink
exception -> valueerror
Browse files Browse the repository at this point in the history
  • Loading branch information
ajati committed Dec 6, 2024
1 parent 69ed4fd commit bfa6535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsfm_public/toolkit/get_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ def get_model(
else:
freq_prefix = None
else:
raise Exception(
"In current implementation, set freq_prefix_tuning to None for automatic model selection accordingly.."
raise ValueError(
"In the current implementation, set `freq_prefix_tuning` to None for automatic model selection accordingly."
)
if freq_prefix_tuning:
freq_prefix = "freq"
Expand Down

0 comments on commit bfa6535

Please sign in to comment.