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

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.File(type="filepath"),
60
  gr.Checkbox(label="Enhance Face", value=True),
61
  gr.Checkbox(label="Enhance Frame", value=True),
62
  ],
63
  outputs=[
64
- gr.Video(type="filepath")
65
  ],
66
  title="Swap Faces",
67
  allow_flagging="never"
 
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"