Spaces:
Running
Running
init
Browse files- .github/environment.yml +87 -0
- .github/workflows/docker.yaml +32 -0
- .github/workflows/docs.yml +33 -0
- .gitignore +8 -0
.github/environment.yml
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: mkdocs
|
2 |
+
channels:
|
3 |
+
- conda-forge
|
4 |
+
- defaults
|
5 |
+
dependencies:
|
6 |
+
- _libgcc_mutex=0.1=main
|
7 |
+
- _openmp_mutex=5.1=1_gnu
|
8 |
+
- attrs=22.2.0=pyh71513ae_0
|
9 |
+
- beautifulsoup4=4.11.1=pyha770c72_0
|
10 |
+
- bleach=5.0.1=pyhd8ed1ab_0
|
11 |
+
- ca-certificates=2022.12.7=ha878542_0
|
12 |
+
- certifi=2022.12.7=pyhd8ed1ab_0
|
13 |
+
- click=8.1.3=unix_pyhd8ed1ab_2
|
14 |
+
- defusedxml=0.7.1=pyhd8ed1ab_0
|
15 |
+
- entrypoints=0.4=pyhd8ed1ab_0
|
16 |
+
- ghp-import=2.1.0=pyhd8ed1ab_0
|
17 |
+
- importlib-metadata=6.0.0=pyha770c72_0
|
18 |
+
- importlib_resources=5.10.2=pyhd8ed1ab_0
|
19 |
+
- jinja2=3.1.2=pyhd8ed1ab_1
|
20 |
+
- jsonschema=4.17.3=pyhd8ed1ab_0
|
21 |
+
- jupyter_client=7.3.4=pyhd8ed1ab_0
|
22 |
+
- jupyter_core=5.1.3=py38h578d9bd_0
|
23 |
+
- jupyterlab_pygments=0.2.2=pyhd8ed1ab_0
|
24 |
+
- jupytext=1.14.4=pyhcff175f_0
|
25 |
+
- ld_impl_linux-64=2.38=h1181459_1
|
26 |
+
- libffi=3.4.2=h6a678d5_6
|
27 |
+
- libgcc-ng=11.2.0=h1234567_1
|
28 |
+
- libgomp=11.2.0=h1234567_1
|
29 |
+
- libsodium=1.0.18=h36c2ea0_1
|
30 |
+
- libstdcxx-ng=11.2.0=h1234567_1
|
31 |
+
- markdown=3.4.1=pyhd8ed1ab_0
|
32 |
+
- markdown-it-py=2.1.0=pyhd8ed1ab_0
|
33 |
+
- markupsafe=2.1.1=py38h0a891b7_1
|
34 |
+
- mdit-py-plugins=0.3.3=pyhd8ed1ab_0
|
35 |
+
- mdurl=0.1.0=pyhd8ed1ab_0
|
36 |
+
- mergedeep=1.3.4=pyhd8ed1ab_0
|
37 |
+
- mistune=0.8.4=pyh1a96a4e_1006
|
38 |
+
- mkdocs=1.3.0=pyhd8ed1ab_0
|
39 |
+
- mkdocs-exclude=1.0.2=pyhd8ed1ab_0
|
40 |
+
- mkdocs-jupyter=0.21.0=pyhd8ed1ab_0
|
41 |
+
- mkdocs-material=8.4.1=pyhd8ed1ab_0
|
42 |
+
- mkdocs-material-extensions=1.0.3=pyhd8ed1ab_2
|
43 |
+
- nbclient=0.7.2=pyhd8ed1ab_0
|
44 |
+
- nbconvert=6.5.0=pyhd8ed1ab_0
|
45 |
+
- nbconvert-core=6.5.0=pyhd8ed1ab_0
|
46 |
+
- nbconvert-pandoc=6.5.0=pyhd8ed1ab_0
|
47 |
+
- nbformat=5.7.3=pyhd8ed1ab_0
|
48 |
+
- ncurses=6.3=h5eee18b_3
|
49 |
+
- nest-asyncio=1.5.6=pyhd8ed1ab_0
|
50 |
+
- openssl=1.1.1s=h7f8727e_0
|
51 |
+
- packaging=23.0=pyhd8ed1ab_0
|
52 |
+
- pandoc=2.19.2=ha770c72_0
|
53 |
+
- pandocfilters=1.5.0=pyhd8ed1ab_0
|
54 |
+
- pip=22.3.1=py38h06a4308_0
|
55 |
+
- pkgutil-resolve-name=1.3.10=pyhd8ed1ab_0
|
56 |
+
- platformdirs=2.6.2=pyhd8ed1ab_0
|
57 |
+
- pygments=2.14.0=pyhd8ed1ab_0
|
58 |
+
- pymdown-extensions=9.9.1=pyhd8ed1ab_0
|
59 |
+
- pyrsistent=0.18.1=py38h0a891b7_1
|
60 |
+
- python=3.8.16=h7a1cb2a_2
|
61 |
+
- python-dateutil=2.8.2=pyhd8ed1ab_0
|
62 |
+
- python-fastjsonschema=2.16.2=pyhd8ed1ab_0
|
63 |
+
- python_abi=3.8=2_cp38
|
64 |
+
- pyyaml=6.0=py38h0a891b7_4
|
65 |
+
- pyyaml-env-tag=0.1=pyhd8ed1ab_0
|
66 |
+
- pyzmq=23.0.0=py38hfc09fa9_0
|
67 |
+
- readline=8.2=h5eee18b_0
|
68 |
+
- setuptools=65.6.3=py38h06a4308_0
|
69 |
+
- six=1.16.0=pyh6c4a22f_0
|
70 |
+
- soupsieve=2.3.2.post1=pyhd8ed1ab_0
|
71 |
+
- sqlite=3.40.1=h5082296_0
|
72 |
+
- tinycss2=1.2.1=pyhd8ed1ab_0
|
73 |
+
- tk=8.6.12=h1ccaba5_0
|
74 |
+
- toml=0.10.2=pyhd8ed1ab_0
|
75 |
+
- tornado=6.1=py38h0a891b7_3
|
76 |
+
- traitlets=5.8.1=pyhd8ed1ab_0
|
77 |
+
- typing-extensions=4.4.0=hd8ed1ab_0
|
78 |
+
- typing_extensions=4.4.0=pyha770c72_0
|
79 |
+
- watchdog=2.2.1=py38h578d9bd_0
|
80 |
+
- webencodings=0.5.1=py_1
|
81 |
+
- wheel=0.37.1=pyhd3eb1b0_0
|
82 |
+
- xz=5.2.10=h5eee18b_1
|
83 |
+
- yaml=0.2.5=h7f98852_2
|
84 |
+
- zeromq=4.3.4=h9c3ff4c_1
|
85 |
+
- zipp=3.11.0=pyhd8ed1ab_0
|
86 |
+
- zlib=1.2.13=h5eee18b_0
|
87 |
+
prefix: /home/weiqiang/.local/miniconda3/envs/mkdocs
|
.github/workflows/docker.yaml
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: docker
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches: master
|
6 |
+
|
7 |
+
jobs:
|
8 |
+
main:
|
9 |
+
runs-on: ubuntu-latest
|
10 |
+
steps:
|
11 |
+
-
|
12 |
+
name: Set up QEMU
|
13 |
+
uses: docker/setup-qemu-action@v1
|
14 |
+
-
|
15 |
+
name: Set up Docker Buildx
|
16 |
+
uses: docker/setup-buildx-action@v1
|
17 |
+
-
|
18 |
+
name: Login to DockerHub
|
19 |
+
uses: docker/login-action@v1
|
20 |
+
with:
|
21 |
+
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
22 |
+
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
23 |
+
-
|
24 |
+
name: Build and push
|
25 |
+
id: docker_build
|
26 |
+
uses: docker/build-push-action@v2
|
27 |
+
with:
|
28 |
+
push: true
|
29 |
+
tags: zhuwq0/deepdenoiser-api:1.0
|
30 |
+
-
|
31 |
+
name: Image digest
|
32 |
+
run: echo ${{ steps.docker_build.outputs.digest }}
|
.github/workflows/docs.yml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: documentation
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
- master
|
7 |
+
- main
|
8 |
+
|
9 |
+
jobs:
|
10 |
+
deploy:
|
11 |
+
runs-on: ubuntu-latest
|
12 |
+
steps:
|
13 |
+
- uses: actions/checkout@v3
|
14 |
+
with:
|
15 |
+
submodules: true
|
16 |
+
|
17 |
+
# - uses: actions/setup-python@v2
|
18 |
+
# with:
|
19 |
+
# python-version: 3.x
|
20 |
+
# - run: pip install mkdocs-material mkdocs-jupyter
|
21 |
+
# - run: mkdocs gh-deploy --force
|
22 |
+
|
23 |
+
- uses: conda-incubator/setup-miniconda@v2
|
24 |
+
with:
|
25 |
+
python-version: 3.8
|
26 |
+
miniconda-version: "latest"
|
27 |
+
activate-environment: mkdocs
|
28 |
+
environment-file: .github/environment.yml
|
29 |
+
# - run: conda install mkdocs=1.3.0 mkdocs-material=8.4.1 mkdocs-material-extensions==1.0.3 mkdocs-jupyter=0.21.0 mkdocs-exclude -c conda-forge
|
30 |
+
|
31 |
+
- name: mkdocs
|
32 |
+
shell: bash -el {0}
|
33 |
+
run: mkdocs gh-deploy --force
|
.gitignore
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
._*
|
2 |
+
*.pyc
|
3 |
+
.DS_Store
|
4 |
+
log/
|
5 |
+
.vscode/
|
6 |
+
output/
|
7 |
+
*_bak/
|
8 |
+
test_data/
|