Updated clip.cpp

added return type in catch block
This commit is contained in:
Tejaakshaykumar 2024-09-24 07:31:49 +05:30 committed by GitHub
parent 36d9bbce6b
commit 46d20e11e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {