Aadhithya
commited on
Commit
•
8ffbc92
1
Parent(s):
3e8dd94
Upload 4 files
Browse files- CONTRIBUTING.md +25 -0
- mypy.ini +7 -0
- requirements-headless.txt +13 -0
- requirements.txt +21 -0
CONTRIBUTING.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## Pull Requests
|
2 |
+
|
3 |
+
Before submitting a pull request, please ensure to align with us as we need to establish both technical and business requirements.
|
4 |
+
|
5 |
+
|
6 |
+
### Do
|
7 |
+
|
8 |
+
- ...consider to fix bugs over adding features
|
9 |
+
- ...one pull request for one feature or improvement
|
10 |
+
- ...consult us about implementation details
|
11 |
+
- ...proper testing before you submit your code
|
12 |
+
- ...resolve failed CI pipelines
|
13 |
+
|
14 |
+
|
15 |
+
### Don't
|
16 |
+
|
17 |
+
- ...introduce fundamental changes in terms of software architecture
|
18 |
+
- ...introduce OOP - we accept functional programming only
|
19 |
+
- ...ignore given requirements or try to work around them
|
20 |
+
- ...submit code to a development branch without consulting us
|
21 |
+
- ...submit massive amount of code changes
|
22 |
+
- ...submit a proof of concept
|
23 |
+
- ...submit code that is using undocumented and private APIs
|
24 |
+
- ...solve third party issues in our project
|
25 |
+
- ...comment what your code does - use proper naming instead
|
mypy.ini
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[mypy]
|
2 |
+
check_untyped_defs = True
|
3 |
+
disallow_any_generics = True
|
4 |
+
disallow_untyped_calls = True
|
5 |
+
disallow_untyped_defs = True
|
6 |
+
ignore_missing_imports = True
|
7 |
+
strict_optional = False
|
requirements-headless.txt
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
numpy==1.24.3
|
2 |
+
opencv-python==4.8.0.74
|
3 |
+
onnx==1.14.0
|
4 |
+
insightface==0.7.3
|
5 |
+
psutil==5.9.5
|
6 |
+
tk==0.1.0
|
7 |
+
customtkinter==5.2.0
|
8 |
+
tkinterdnd2==0.3.0
|
9 |
+
onnxruntime==1.15.0
|
10 |
+
tensorflow==2.13.0
|
11 |
+
opennsfw2==0.10.2
|
12 |
+
protobuf==4.23.4
|
13 |
+
tqdm==4.65.0
|
requirements.txt
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--extra-index-url https://download.pytorch.org/whl/cu118
|
2 |
+
|
3 |
+
numpy==1.24.3
|
4 |
+
opencv-python==4.8.0.74
|
5 |
+
onnx==1.14.0
|
6 |
+
insightface==0.7.3
|
7 |
+
psutil==5.9.5
|
8 |
+
tk==0.1.0
|
9 |
+
customtkinter==5.2.0
|
10 |
+
tkinterdnd2==0.3.0; sys_platform != 'darwin' and platform_machine != 'arm64'
|
11 |
+
tkinterdnd2-universal==1.7.3; sys_platform == 'darwin' and platform_machine == 'arm64'
|
12 |
+
pillow==10.0.0
|
13 |
+
onnxruntime==1.15.1; python_version != '3.9' and sys_platform == 'darwin' and platform_machine != 'arm64'
|
14 |
+
onnxruntime-coreml==1.13.1; python_version == '3.9' and sys_platform == 'darwin' and platform_machine != 'arm64'
|
15 |
+
onnxruntime-silicon==1.13.1; sys_platform == 'darwin' and platform_machine == 'arm64'
|
16 |
+
onnxruntime-gpu==1.15.1; sys_platform != 'darwin'
|
17 |
+
tensorflow==2.13.0
|
18 |
+
opennsfw2==0.10.2
|
19 |
+
protobuf==4.23.4
|
20 |
+
tqdm==4.65.0
|
21 |
+
gfpgan==1.3.8
|