Revert "Merge pull request #566 from pereiraroland26/main"

This reverts commit 5d450b4352.
This commit is contained in:
Kenneth Estanislao
2024-10-04 15:57:48 +08:00
parent 5d450b4352
commit 61dae91439
8 changed files with 323 additions and 973 deletions
+6 -8
View File
@@ -1,5 +1,5 @@
import os
from typing import List, Dict, Any
from typing import List, Dict
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
WORKFLOW_DIR = os.path.join(ROOT_DIR, 'workflow')
@@ -9,9 +9,6 @@ file_types = [
('Video', ('*.mp4','*.mkv'))
]
souce_target_map = []
simple_map = {}
source_path = None
target_path = None
output_path = None
@@ -20,9 +17,6 @@ keep_fps = None
keep_audio = None
keep_frames = None
many_faces = None
map_faces = None
color_correction = None # New global variable for color correction toggle
nsfw_filter = None
video_encoder = None
video_quality = None
live_mirror = None
@@ -33,5 +27,9 @@ execution_threads = None
headless = None
log_level = 'error'
fp_ui: Dict[str, bool] = {}
nsfw = None
camera_input_combobox = None
webcam_preview_running = False
webcam_preview_running = False
enhancer_upscale_factor = 1
source_image_scaling_factor = 2
sr_scale_factor = 4