Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,16 +70,16 @@ thresholds = []
|
|
| 70 |
|
| 71 |
with gr.Blocks() as demo:
|
| 72 |
with gr.Row():
|
| 73 |
-
gr.Markdown("# π FaceSwap Lite")
|
| 74 |
with gr.Row():
|
| 75 |
-
video=gr.Video(label=u"
|
| 76 |
-
video2=gr.Video(label=u"
|
| 77 |
|
| 78 |
for i in range(0,num_faces):
|
| 79 |
with gr.Tab(u"Face #" + f"{i+1}"):
|
| 80 |
with gr.Row():
|
| 81 |
-
origin.append(gr.Image(label=u"
|
| 82 |
-
destination.append(gr.Image(label=u"
|
| 83 |
with gr.Row():
|
| 84 |
thresholds.append(gr.Slider(label=u"Transparency",minimum=0.0,maximum=1.0,value=0.2))
|
| 85 |
with gr.Row():
|
|
|
|
| 70 |
|
| 71 |
with gr.Blocks() as demo:
|
| 72 |
with gr.Row():
|
| 73 |
+
gr.Markdown("# π FaceSwap Lite π")
|
| 74 |
with gr.Row():
|
| 75 |
+
video=gr.Video(label=u"π₯οΈ Target Video,foramt mp4",format="mp4")
|
| 76 |
+
video2=gr.Video(label=u"ποΈ Target Video",interactive=False,format="mp4")
|
| 77 |
|
| 78 |
for i in range(0,num_faces):
|
| 79 |
with gr.Tab(u"Face #" + f"{i+1}"):
|
| 80 |
with gr.Row():
|
| 81 |
+
origin.append(gr.Image(label=u"π― Target Face from Video"))
|
| 82 |
+
destination.append(gr.Image(label=u"πΈ Source Face"))
|
| 83 |
with gr.Row():
|
| 84 |
thresholds.append(gr.Slider(label=u"Transparency",minimum=0.0,maximum=1.0,value=0.2))
|
| 85 |
with gr.Row():
|