refactor: Enable downloading models directory from GitHub

This commit modifies the `load_models_info` function in `model-infos.cpp` to enable downloading the models directory from GitHub. Previously, the download functionality was commented out, but now it is uncommented to allow for successful downloading of the directory. This change improves the functionality of the code.

Ref: #<issue_number>
This commit is contained in:
Roy Shilkrot 2024-10-09 10:47:07 -04:00
parent 41bd57fd5a
commit 2834ba1bf5

View File

@ -195,7 +195,7 @@ std::map<std::string, ModelInfo> load_models_info()
// Try to download from GitHub first
std::string github_json_content;
bool download_success = false; // download_json_from_github(github_json_content);
bool download_success = download_json_from_github(github_json_content);
if (download_success) {
obs_log(LOG_INFO, "Successfully downloaded models directory from GitHub");