Spaces:
Running
on
Zero
Running
on
Zero
feat: test
Browse files- .flake8 +6 -0
- facefusion.ini +101 -0
- mypy.ini +7 -0
.flake8
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[flake8]
|
2 |
+
select = E3, E4, F, I1, I2
|
3 |
+
per-file-ignores = facefusion.py:E402, install.py:E402
|
4 |
+
plugins = flake8-import-order
|
5 |
+
application_import_names = facefusion
|
6 |
+
import-order-style = pycharm
|
facefusion.ini
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[paths]
|
2 |
+
jobs_path =
|
3 |
+
source_paths =
|
4 |
+
target_path =
|
5 |
+
output_path =
|
6 |
+
|
7 |
+
[face_detector]
|
8 |
+
face_detector_model =
|
9 |
+
face_detector_size =
|
10 |
+
face_detector_angles =
|
11 |
+
face_detector_score =
|
12 |
+
|
13 |
+
[face_landmarker]
|
14 |
+
face_landmarker_model =
|
15 |
+
face_landmarker_score =
|
16 |
+
|
17 |
+
[face_selector]
|
18 |
+
face_selector_mode =
|
19 |
+
face_selector_order =
|
20 |
+
face_selector_age_start =
|
21 |
+
face_selector_age_end =
|
22 |
+
face_selector_gender =
|
23 |
+
face_selector_race =
|
24 |
+
reference_face_position =
|
25 |
+
reference_face_distance =
|
26 |
+
reference_frame_number =
|
27 |
+
|
28 |
+
[face_masker]
|
29 |
+
face_mask_types =
|
30 |
+
face_mask_blur =
|
31 |
+
face_mask_padding =
|
32 |
+
face_mask_regions =
|
33 |
+
|
34 |
+
[frame_extraction]
|
35 |
+
trim_frame_start =
|
36 |
+
trim_frame_end =
|
37 |
+
temp_frame_format =
|
38 |
+
keep_temp =
|
39 |
+
|
40 |
+
[output_creation]
|
41 |
+
output_image_quality =
|
42 |
+
output_image_resolution =
|
43 |
+
output_audio_encoder =
|
44 |
+
output_video_encoder =
|
45 |
+
output_video_preset =
|
46 |
+
output_video_quality =
|
47 |
+
output_video_resolution =
|
48 |
+
output_video_fps =
|
49 |
+
skip_audio =
|
50 |
+
|
51 |
+
[processors]
|
52 |
+
processors =
|
53 |
+
age_modifier_model =
|
54 |
+
age_modifier_direction =
|
55 |
+
expression_restorer_model =
|
56 |
+
expression_restorer_factor =
|
57 |
+
face_debugger_items =
|
58 |
+
face_editor_model =
|
59 |
+
face_editor_eyebrow_direction =
|
60 |
+
face_editor_eye_gaze_horizontal =
|
61 |
+
face_editor_eye_gaze_vertical =
|
62 |
+
face_editor_eye_open_ratio =
|
63 |
+
face_editor_lip_open_ratio =
|
64 |
+
face_editor_mouth_grim =
|
65 |
+
face_editor_mouth_pout =
|
66 |
+
face_editor_mouth_purse =
|
67 |
+
face_editor_mouth_smile =
|
68 |
+
face_editor_mouth_position_horizontal =
|
69 |
+
face_editor_mouth_position_vertical =
|
70 |
+
face_editor_head_pitch =
|
71 |
+
face_editor_head_yaw =
|
72 |
+
face_editor_head_roll =
|
73 |
+
face_enhancer_model =
|
74 |
+
face_enhancer_blend =
|
75 |
+
face_swapper_model =
|
76 |
+
face_swapper_pixel_boost =
|
77 |
+
frame_colorizer_model =
|
78 |
+
frame_colorizer_size =
|
79 |
+
frame_colorizer_blend =
|
80 |
+
frame_enhancer_model =
|
81 |
+
frame_enhancer_blend =
|
82 |
+
lip_syncer_model =
|
83 |
+
|
84 |
+
[uis]
|
85 |
+
open_browser =
|
86 |
+
ui_layouts =
|
87 |
+
ui_workflow =
|
88 |
+
|
89 |
+
[execution]
|
90 |
+
execution_device_id =
|
91 |
+
execution_providers =
|
92 |
+
execution_thread_count =
|
93 |
+
execution_queue_count =
|
94 |
+
|
95 |
+
[memory]
|
96 |
+
video_memory_strategy =
|
97 |
+
system_memory_limit =
|
98 |
+
|
99 |
+
[misc]
|
100 |
+
skip_download =
|
101 |
+
log_level =
|
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
|