mirror of
https://github.com/occ-ai/obs-localvocal
synced 2024-11-07 18:57:14 +00:00
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:
parent
41bd57fd5a
commit
2834ba1bf5
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user