Update face_fix_next.py
Browse files- face_fix_next.py +4 -1
face_fix_next.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio
|
| 2 |
|
| 3 |
from facefusion import state_manager
|
| 4 |
-
from facefusion.uis.components import about, age_modifier_options, common_options, deep_swapper_options, download, execution, execution_thread_count, expression_restorer_options, face_debugger_options, face_detector, face_editor_options, face_enhancer_options, face_landmarker, face_masker, face_selector, face_swapper_options, frame_colorizer_options, frame_enhancer_options, instant_runner, job_manager, job_runner, lip_syncer_options, memory, output, output_options, preview, preview_options, processors, source, target, temp_frame, terminal, trim_frame, ui_workflow, voice_extractor
|
| 5 |
|
| 6 |
|
| 7 |
def pre_check() -> bool:
|
|
@@ -18,6 +18,8 @@ def render() -> gradio.Blocks:
|
|
| 18 |
processors.render()
|
| 19 |
with gradio.Blocks():
|
| 20 |
age_modifier_options.render()
|
|
|
|
|
|
|
| 21 |
with gradio.Blocks():
|
| 22 |
deep_swapper_options.render()
|
| 23 |
with gradio.Blocks():
|
|
@@ -85,6 +87,7 @@ def render() -> gradio.Blocks:
|
|
| 85 |
def listen() -> None:
|
| 86 |
processors.listen()
|
| 87 |
age_modifier_options.listen()
|
|
|
|
| 88 |
deep_swapper_options.listen()
|
| 89 |
expression_restorer_options.listen()
|
| 90 |
face_debugger_options.listen()
|
|
|
|
| 1 |
import gradio
|
| 2 |
|
| 3 |
from facefusion import state_manager
|
| 4 |
+
from facefusion.uis.components import about, age_modifier_options, background_remover_options, common_options, deep_swapper_options, download, execution, execution_thread_count, expression_restorer_options, face_debugger_options, face_detector, face_editor_options, face_enhancer_options, face_landmarker, face_masker, face_selector, face_swapper_options, frame_colorizer_options, frame_enhancer_options, instant_runner, job_manager, job_runner, lip_syncer_options, memory, output, output_options, preview, preview_options, processors, source, target, temp_frame, terminal, trim_frame, ui_workflow, voice_extractor
|
| 5 |
|
| 6 |
|
| 7 |
def pre_check() -> bool:
|
|
|
|
| 18 |
processors.render()
|
| 19 |
with gradio.Blocks():
|
| 20 |
age_modifier_options.render()
|
| 21 |
+
with gradio.Blocks():
|
| 22 |
+
background_remover_options.render()
|
| 23 |
with gradio.Blocks():
|
| 24 |
deep_swapper_options.render()
|
| 25 |
with gradio.Blocks():
|
|
|
|
| 87 |
def listen() -> None:
|
| 88 |
processors.listen()
|
| 89 |
age_modifier_options.listen()
|
| 90 |
+
background_remover_options.listen()
|
| 91 |
deep_swapper_options.listen()
|
| 92 |
expression_restorer_options.listen()
|
| 93 |
face_debugger_options.listen()
|