sandhyasinha655 commited on
Commit
54c9236
·
verified ·
1 Parent(s): 19a3631

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -18
app.py DELETED
@@ -1,18 +0,0 @@
1
- import gradio as gr
2
- from roop import run_face_swap
3
-
4
- def swap(source_img, target_file):
5
- output_path = run_face_swap(source_img, target_file)
6
- return output_path
7
-
8
- iface = gr.Interface(
9
- fn=swap,
10
- inputs=[
11
- gr.Image(label="Upload Face Image (face.png)"),
12
- gr.File(label="Upload Target Image/Video (target.jpg / target.mp4)")
13
- ],
14
- outputs=gr.Video(label="Swapped Output"),
15
- title="AI Face Swap (Image + Video)",
16
- description="Upload your face and a target (image or video) to get a realistic face swapped result. Powered by Roop."
17
- )
18
- iface.launch()