Skip to content

Commit

Permalink
refactor: Enable downloading models directory from GitHub
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
royshil committed Oct 9, 2024
1 parent 41bd57f commit 2834ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model-utils/model-infos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 2834ba1

Please sign in to comment.