Skip to content
Snippets Groups Projects
Commit 079422f2 authored by lukaszszpak's avatar lukaszszpak
Browse files

chore: new dump

parent 267496df
Branches
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 #6689 passed with stages
in 1 minute and 47 seconds
[DOWNLOAD]
default_model = https://minio.clarin-pl.eu/public/models/plwn_api_dumps/plwn_dump_27-03-2018.sqlite
\ No newline at end of file
default_model = https://minio.clarin-pl.eu/public/models/plwn_api_dumps/plwn_dump_new_07-12-2022.sqlite
......@@ -42,7 +42,7 @@ def download(name="default_model"):
return
if name in models:
url = config["DOWNLOAD"]["default_model"]
url = url.replace("plwn_dump_27-03-2018.sqlite", name)
url = url.replace("plwn_dump_new_07-12-2022.sqlite", name)
r = requests.get(url)
with open(name, "wb") as f:
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