Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PLWN_API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Libraries
PLWN_API
Commits
079422f2
Commit
079422f2
authored
Dec 7, 2022
by
lukaszszpak
Browse files
Options
Downloads
Patches
Plain Diff
chore: new dump
parent
267496df
No related branches found
No related tags found
4 merge requests
!10
Revert "test if load_default will download dump"
,
!9
Merge request
,
!8
Revert "test if load_default will download dump"
,
!7
Revert "test if load_default will download dump"
Pipeline
#6689
passed
Dec 7, 2022
Stage: check_style
Stage: tests
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
plwn/config.ini
+1
-1
1 addition, 1 deletion
plwn/config.ini
plwn/download.py
+1
-1
1 addition, 1 deletion
plwn/download.py
with
2 additions
and
2 deletions
plwn/config.ini
+
1
−
1
View file @
079422f2
[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
This diff is collapsed.
Click to expand it.
plwn/download.py
+
1
−
1
View file @
079422f2
...
...
@@ -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
-20
18
.sqlite
"
,
name
)
url
=
url
.
replace
(
"
plwn_dump_
new_07-12
-20
22
.sqlite
"
,
name
)
r
=
requests
.
get
(
url
)
with
open
(
name
,
"
wb
"
)
as
f
:
f
.
write
(
r
.
content
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment