Skip to content
Snippets Groups Projects
Commit 88da785d authored by lukaszszpak's avatar lukaszszpak
Browse files

fix: default model url

parent dfd6e5b2
Branches
No related tags found
4 merge requests!10Revert "test if load_default will download dump",!9Merge request,!8Revert "test if load_default will download dump",!7Revert "test if load_default will download dump"
Pipeline #15175 passed
...@@ -10,7 +10,7 @@ config.read(config_path) ...@@ -10,7 +10,7 @@ config.read(config_path)
def download(name="default_model"): def download(name="default_model"):
url = config["DOWNLOAD"] url = config["DOWNLOAD"][name]
r = requests.get(url) r = requests.get(url)
with open(name, "wb") as f: with open(name, "wb") as f:
f.write(r.content) f.write(r.content)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment