isurulkh commited on
Commit
f090698
1 Parent(s): 5e0896b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -28,9 +28,9 @@ def run_scripts(target, source, use_face_enhancer):
28
  iface = gr.Interface(
29
  fn=run_scripts,
30
  inputs=[
31
- "file",
32
- "file",
33
- gr.inputs.Checkbox(default=False, label="Use only Face Enhancer") # New checkbox input
34
  ],
35
  outputs="file",
36
  title="Face swapper",
@@ -38,4 +38,4 @@ iface = gr.Interface(
38
  live=True
39
  )
40
 
41
- iface.launch()
 
28
  iface = gr.Interface(
29
  fn=run_scripts,
30
  inputs=[
31
+ gr.File(label="Target image/video"),
32
+ gr.File(label="Source image"),
33
+ gr.Box(label="Use only Face Enhancer") # New checkbox input
34
  ],
35
  outputs="file",
36
  title="Face swapper",
 
38
  live=True
39
  )
40
 
41
+ iface.launch(share=True)