Mrlongpro commited on
Commit
fdca11e
1 Parent(s): 9ce04cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -42,10 +42,10 @@ def run_scripts(target, source):
42
  iface = gr.Interface(
43
  fn=run_scripts,
44
  inputs=[
45
- gr.input.File(type="file", label="Target Files", multiple=True),
46
- gr.input.File(type="file", label="Source File")
47
  ],
48
- outputs=gr.outputs.File(label="Output Files"),
49
  title="Swapper",
50
  description="Upload a target image/video and a source image.",
51
  live=False
 
42
  iface = gr.Interface(
43
  fn=run_scripts,
44
  inputs=[
45
+ gr.Files(type="file", label="Target Files", multiple=True),
46
+ gr.File(type="file", label="Source File")
47
  ],
48
+ outputs=gr.Files(label="Output Files"),
49
  title="Swapper",
50
  description="Upload a target image/video and a source image.",
51
  live=False