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

fix: default model url

parent dfd6e5b2
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 with stages
in 1 minute and 22 seconds
...@@ -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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment