Spaces:
Running
Running
victorisgeek
commited on
Commit
•
495bf02
1
Parent(s):
20b79d0
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,8 @@ def main():
|
|
43 |
|
44 |
with gr.Blocks(title='FaceClone') as web_ui:
|
45 |
gr.Markdown('# 🇲🇲 FaceClone Deepfake Swap Face and Pose')
|
46 |
-
with gr.Tab('
|
47 |
-
gr.Markdown('
|
48 |
with gr.Tab('📥 Image'):
|
49 |
with gr.Row():
|
50 |
with gr.Column():
|
@@ -77,7 +77,7 @@ def main():
|
|
77 |
label='🧲 face similarity threshold',
|
78 |
minimum=0.0,
|
79 |
maximum=1.0)
|
80 |
-
convert_button = gr.Button('
|
81 |
convert_button.click(fn=swap_face,
|
82 |
inputs=[
|
83 |
image_input, dst_face_image,
|
@@ -119,7 +119,7 @@ def main():
|
|
119 |
label='💌face similarity threshold',
|
120 |
minimum=0.0,
|
121 |
maximum=1.0)
|
122 |
-
convert_button = gr.Button('
|
123 |
convert_button.click(fn=swap_face,
|
124 |
inputs=[
|
125 |
video_input, dst_face_image,
|
@@ -129,8 +129,8 @@ def main():
|
|
129 |
outputs=[output_video],
|
130 |
api_name='💽 video swap 💽')
|
131 |
|
132 |
-
with gr.Tab('
|
133 |
-
gr.Markdown('
|
134 |
with gr.Tab('📷 Image'):
|
135 |
with gr.Row():
|
136 |
with gr.Column():
|
@@ -150,7 +150,7 @@ def main():
|
|
150 |
info="⌛Whether use image resolution model.")
|
151 |
scale = gr.Number(
|
152 |
value=1, label='📸 slSuper resolution scale')
|
153 |
-
convert_button = gr.Button('
|
154 |
convert_button.click(fn=swap_pose,
|
155 |
inputs=[
|
156 |
image_input, target,
|
|
|
43 |
|
44 |
with gr.Blocks(title='FaceClone') as web_ui:
|
45 |
gr.Markdown('# 🇲🇲 FaceClone Deepfake Swap Face and Pose')
|
46 |
+
with gr.Tab('🧩 FaceSwapper'):
|
47 |
+
gr.Markdown(' 🧸 FaceClone:power by Gradio')
|
48 |
with gr.Tab('📥 Image'):
|
49 |
with gr.Row():
|
50 |
with gr.Column():
|
|
|
77 |
label='🧲 face similarity threshold',
|
78 |
minimum=0.0,
|
79 |
maximum=1.0)
|
80 |
+
convert_button = gr.Button('🔍 Swap')
|
81 |
convert_button.click(fn=swap_face,
|
82 |
inputs=[
|
83 |
image_input, dst_face_image,
|
|
|
119 |
label='💌face similarity threshold',
|
120 |
minimum=0.0,
|
121 |
maximum=1.0)
|
122 |
+
convert_button = gr.Button('🎯 Swap')
|
123 |
convert_button.click(fn=swap_face,
|
124 |
inputs=[
|
125 |
video_input, dst_face_image,
|
|
|
129 |
outputs=[output_video],
|
130 |
api_name='💽 video swap 💽')
|
131 |
|
132 |
+
with gr.Tab('🪩 PoseSwapper'):
|
133 |
+
gr.Markdown(' 🧸FaceClone:Deepfake power by Gradio')
|
134 |
with gr.Tab('📷 Image'):
|
135 |
with gr.Row():
|
136 |
with gr.Column():
|
|
|
150 |
info="⌛Whether use image resolution model.")
|
151 |
scale = gr.Number(
|
152 |
value=1, label='📸 slSuper resolution scale')
|
153 |
+
convert_button = gr.Button('🎯 Swap')
|
154 |
convert_button.click(fn=swap_pose,
|
155 |
inputs=[
|
156 |
image_input, target,
|