-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.ladaapp.lada.yaml
48 lines (48 loc) · 2.24 KB
/
io.github.ladaapp.lada.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
id: io.github.ladaapp.lada
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
command: lada
finish-args:
- "--socket=wayland"
- "--socket=fallback-x11"
- "--device=dri"
- "--share=ipc"
- "--socket=pulseaudio"
modules:
- lada-pip-dependencies.json
- name: lada
buildsystem: simple
build-commands:
- |
mkdir -p /app/model_weights/3rd_party
mv lada_mosaic_detection_model_v2.pt lada_mosaic_edge_detection_model.pth lada_mosaic_restoration_model_bj_pov.pth lada_mosaic_restoration_model_generic_v1.1.pth /app/model_weights/
mv clean_youknow_video.pth /app/model_weights/3rd_party/
- python3 -m pip install --prefix=/app --no-deps '.[basicvsrpp,gui]'
- |
install -d /app/share
mv packaging/flatpak/share/* /app/share/
- |
patch -i $FLATPAK_BUILDER_BUILDDIR/patches/adjust_mmengine_resume_dataloader.patch -p2 -d /app
patch -u $FLATPAK_BUILDER_BUILDDIR/patches/increase_mms_time_limit.patch -p2 -d /app
sources:
- type: git
url: "https://github.com/ladaapp/lada.git"
commit: 53daf6dd829379f09fe0bbb80f627a50929ecbdb
tag: v0.5.0
- type: file
url: "https://github.com/ladaapp/lada/releases/download/v0.2.0/lada_mosaic_detection_model_v2.pt"
sha256: 056756fcab250bcdf0833e75aac33e2197b8809b0ab8c16e14722dcec94269b5
- type: file
url: "https://github.com/ladaapp/lada/releases/download/v0.1.0/lada_mosaic_edge_detection_model.pth"
sha256: b9d75d1c574f93287f6597da3f07be79e67d8ac93f3f3ee52caaffa41d7556ab
- type: file
url: "https://github.com/ladaapp/lada/releases/download/v0.1.0/lada_mosaic_restoration_model_bj_pov.pth"
sha256: b79de6fcb1fcafd3ce7c954f4ac788be448ec2d82c6e688aaf18b8ba48fb5b47
- type: file
url: "https://github.com/ladaapp/lada/releases/download/v0.2.1/lada_mosaic_restoration_model_generic_v1.1.pth"
sha256: 6ec6542dde73fbc2086d252a041b41881e3194eaa0bac964348e6f7e8aad007c
- type: file
url: "https://drive.usercontent.google.com/download?id=1ulct4RhRxQp1v5xwEmUH7xz7AK42Oqlw&export=download&confirm=t"
sha256: 5643ca297c13920b8ffd39a0d85296e494683a69e5e8204d662653d24c582766
dest-filename: clean_youknow_video.pth