AdityA36912355 commited on
Commit
d8c0176
·
verified ·
1 Parent(s): 1b321a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,12 +56,12 @@ demo = gr.Interface(
56
  fn=swap_faces,
57
  inputs=[
58
  gr.Image(type="filepath"),
59
- gr.Video(),
60
  gr.Checkbox(label="Enhance Face", value=True),
61
  gr.Checkbox(label="Enhance Frame", value=True),
62
  ],
63
  outputs=[
64
- gr.Video()
65
  ],
66
  title="Swap Faces",
67
  allow_flagging="never"
 
56
  fn=swap_faces,
57
  inputs=[
58
  gr.Image(type="filepath"),
59
+ gr.Video(source="upload", type="filepath"),
60
  gr.Checkbox(label="Enhance Face", value=True),
61
  gr.Checkbox(label="Enhance Frame", value=True),
62
  ],
63
  outputs=[
64
+ gr.Video(source="output")
65
  ],
66
  title="Swap Faces",
67
  allow_flagging="never"