mirror of
https://github.com/hacksider/Deep-Live-Cam.git
synced 2025-03-28 18:51:57 +01:00
Update globals.py for Default states
This commit is contained in:
parent
bbad5e08bb
commit
673439d47c
@ -2,11 +2,11 @@ import os
|
|||||||
from typing import List, Dict, Any
|
from typing import List, Dict, Any
|
||||||
|
|
||||||
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
WORKFLOW_DIR = os.path.join(ROOT_DIR, 'workflow')
|
WORKFLOW_DIR = os.path.join(ROOT_DIR, "workflow")
|
||||||
|
|
||||||
file_types = [
|
file_types = [
|
||||||
('Image', ('*.png','*.jpg','*.jpeg','*.gif','*.bmp')),
|
("Image", ("*.png", "*.jpg", "*.jpeg", "*.gif", "*.bmp")),
|
||||||
('Video', ('*.mp4','*.mkv'))
|
("Video", ("*.mp4", "*.mkv")),
|
||||||
]
|
]
|
||||||
|
|
||||||
souce_target_map = []
|
souce_target_map = []
|
||||||
@ -16,23 +16,23 @@ source_path = None
|
|||||||
target_path = None
|
target_path = None
|
||||||
output_path = None
|
output_path = None
|
||||||
frame_processors: List[str] = []
|
frame_processors: List[str] = []
|
||||||
keep_fps = None
|
keep_fps = True
|
||||||
keep_audio = None
|
keep_audio = True
|
||||||
keep_frames = None
|
keep_frames = False
|
||||||
many_faces = None
|
many_faces = False
|
||||||
map_faces = None
|
map_faces = False
|
||||||
color_correction = None # New global variable for color correction toggle
|
color_correction = False # New global variable for color correction toggle
|
||||||
nsfw_filter = None
|
nsfw_filter = False
|
||||||
video_encoder = None
|
video_encoder = None
|
||||||
video_quality = None
|
video_quality = None
|
||||||
live_mirror = None
|
live_mirror = False
|
||||||
live_resizable = None
|
live_resizable = False
|
||||||
max_memory = None
|
max_memory = None
|
||||||
execution_providers: List[str] = []
|
execution_providers: List[str] = []
|
||||||
execution_threads = None
|
execution_threads = None
|
||||||
headless = None
|
headless = None
|
||||||
log_level = 'error'
|
log_level = "error"
|
||||||
fp_ui: Dict[str, bool] = {}
|
fp_ui: Dict[str, bool] = {"face_enhancer": False}
|
||||||
camera_input_combobox = None
|
camera_input_combobox = None
|
||||||
webcam_preview_running = False
|
webcam_preview_running = False
|
||||||
show_fps = False
|
show_fps = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user