Update face_fix_next.py
Browse files- face_fix_next.py +6 -3
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,
|
| 5 |
|
| 6 |
|
| 7 |
def pre_check() -> bool:
|
|
@@ -36,10 +36,11 @@ def render() -> gradio.Blocks:
|
|
| 36 |
frame_enhancer_options.render()
|
| 37 |
with gradio.Blocks():
|
| 38 |
lip_syncer_options.render()
|
|
|
|
|
|
|
| 39 |
with gradio.Blocks():
|
| 40 |
execution.render()
|
| 41 |
execution_thread_count.render()
|
| 42 |
-
execution_queue_count.render()
|
| 43 |
with gradio.Blocks():
|
| 44 |
download.render()
|
| 45 |
with gradio.Blocks():
|
|
@@ -65,6 +66,7 @@ def render() -> gradio.Blocks:
|
|
| 65 |
with gradio.Column(scale = 7):
|
| 66 |
with gradio.Blocks():
|
| 67 |
preview.render()
|
|
|
|
| 68 |
with gradio.Blocks():
|
| 69 |
trim_frame.render()
|
| 70 |
with gradio.Blocks():
|
|
@@ -94,7 +96,6 @@ def listen() -> None:
|
|
| 94 |
lip_syncer_options.listen()
|
| 95 |
execution.listen()
|
| 96 |
execution_thread_count.listen()
|
| 97 |
-
execution_queue_count.listen()
|
| 98 |
download.listen()
|
| 99 |
memory.listen()
|
| 100 |
temp_frame.listen()
|
|
@@ -107,11 +108,13 @@ def listen() -> None:
|
|
| 107 |
job_manager.listen()
|
| 108 |
terminal.listen()
|
| 109 |
preview.listen()
|
|
|
|
| 110 |
trim_frame.listen()
|
| 111 |
face_selector.listen()
|
| 112 |
face_masker.listen()
|
| 113 |
face_detector.listen()
|
| 114 |
face_landmarker.listen()
|
|
|
|
| 115 |
common_options.listen()
|
| 116 |
|
| 117 |
|
|
|
|
| 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:
|
|
|
|
| 36 |
frame_enhancer_options.render()
|
| 37 |
with gradio.Blocks():
|
| 38 |
lip_syncer_options.render()
|
| 39 |
+
with gradio.Blocks():
|
| 40 |
+
voice_extractor.render()
|
| 41 |
with gradio.Blocks():
|
| 42 |
execution.render()
|
| 43 |
execution_thread_count.render()
|
|
|
|
| 44 |
with gradio.Blocks():
|
| 45 |
download.render()
|
| 46 |
with gradio.Blocks():
|
|
|
|
| 66 |
with gradio.Column(scale = 7):
|
| 67 |
with gradio.Blocks():
|
| 68 |
preview.render()
|
| 69 |
+
preview_options.render()
|
| 70 |
with gradio.Blocks():
|
| 71 |
trim_frame.render()
|
| 72 |
with gradio.Blocks():
|
|
|
|
| 96 |
lip_syncer_options.listen()
|
| 97 |
execution.listen()
|
| 98 |
execution_thread_count.listen()
|
|
|
|
| 99 |
download.listen()
|
| 100 |
memory.listen()
|
| 101 |
temp_frame.listen()
|
|
|
|
| 108 |
job_manager.listen()
|
| 109 |
terminal.listen()
|
| 110 |
preview.listen()
|
| 111 |
+
preview_options.listen()
|
| 112 |
trim_frame.listen()
|
| 113 |
face_selector.listen()
|
| 114 |
face_masker.listen()
|
| 115 |
face_detector.listen()
|
| 116 |
face_landmarker.listen()
|
| 117 |
+
voice_extractor.listen()
|
| 118 |
common_options.listen()
|
| 119 |
|
| 120 |
|