Spaces:
Running
Running
victorisgeek
commited on
Commit
โข
fae5deb
1
Parent(s):
94c7dc6
Update app.py
Browse files
app.py
CHANGED
@@ -192,12 +192,12 @@ def process(
|
|
192 |
yield "### \n ๐ Loading face analyser model...", *ui_before()
|
193 |
load_face_analyser_model()
|
194 |
|
195 |
-
yield "### \n
|
196 |
load_face_swapper_model()
|
197 |
|
198 |
if face_enhancer_name != "NONE":
|
199 |
if face_enhancer_name not in cv2_interpolations:
|
200 |
-
yield f"### \n
|
201 |
FACE_ENHANCER = load_face_enhancer_model(name=face_enhancer_name, device=device)
|
202 |
else:
|
203 |
FACE_ENHANCER = None
|
@@ -544,7 +544,7 @@ footer{display:none !important}
|
|
544 |
|
545 |
with gr.Blocks(css=css) as interface:
|
546 |
gr.Markdown("# ๐งธ Deepfake Faceswap")
|
547 |
-
gr.Markdown("###
|
548 |
with gr.Row():
|
549 |
with gr.Row():
|
550 |
with gr.Column(scale=0.4):
|
@@ -561,7 +561,7 @@ with gr.Blocks(css=css) as interface:
|
|
561 |
value=25, label="Value", interactive=True, visible=False
|
562 |
)
|
563 |
|
564 |
-
with gr.Tab("
|
565 |
detect_condition_dropdown = gr.Dropdown(
|
566 |
detect_conditions,
|
567 |
label="Condition",
|
@@ -592,7 +592,7 @@ with gr.Blocks(css=css) as interface:
|
|
592 |
label="Keep output sequence", value=False, interactive=True
|
593 |
)
|
594 |
|
595 |
-
with gr.Tab("
|
596 |
face_scale = gr.Slider(
|
597 |
label="Face Scale",
|
598 |
minimum=0,
|
|
|
192 |
yield "### \n ๐ Loading face analyser model...", *ui_before()
|
193 |
load_face_analyser_model()
|
194 |
|
195 |
+
yield "### \n ๐ Loading face swapper model...", *ui_before()
|
196 |
load_face_swapper_model()
|
197 |
|
198 |
if face_enhancer_name != "NONE":
|
199 |
if face_enhancer_name not in cv2_interpolations:
|
200 |
+
yield f"### \n ๐ฎ Loading {face_enhancer_name} model...", *ui_before()
|
201 |
FACE_ENHANCER = load_face_enhancer_model(name=face_enhancer_name, device=device)
|
202 |
else:
|
203 |
FACE_ENHANCER = None
|
|
|
544 |
|
545 |
with gr.Blocks(css=css) as interface:
|
546 |
gr.Markdown("# ๐งธ Deepfake Faceswap")
|
547 |
+
gr.Markdown("### ๐ฅ insightface inswapper bypass NSFW.")
|
548 |
with gr.Row():
|
549 |
with gr.Row():
|
550 |
with gr.Column(scale=0.4):
|
|
|
561 |
value=25, label="Value", interactive=True, visible=False
|
562 |
)
|
563 |
|
564 |
+
with gr.Tab("๐๏ธ Detection Settings"):
|
565 |
detect_condition_dropdown = gr.Dropdown(
|
566 |
detect_conditions,
|
567 |
label="Condition",
|
|
|
592 |
label="Keep output sequence", value=False, interactive=True
|
593 |
)
|
594 |
|
595 |
+
with gr.Tab("๐ Other Settings"):
|
596 |
face_scale = gr.Slider(
|
597 |
label="Face Scale",
|
598 |
minimum=0,
|