Skip to content

Commit

Permalink
Updated clip.cpp
Browse files Browse the repository at this point in the history
added return type in catch block
  • Loading branch information
Tejaakshaykumar authored Sep 24, 2024
1 parent 36d9bbc commit 46d20e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/llava/clip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1285,6 +1285,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) {
}
} catch (const std::exception& e) {
LOG_TEE("Error while loading hyperparameters: %s\n", e.what());
return false;
     }

try {
Expand Down

0 comments on commit 46d20e1

Please sign in to comment.