Update app.py
Browse files
app.py
CHANGED
@@ -42,10 +42,10 @@ def run_scripts(target, source):
|
|
42 |
iface = gr.Interface(
|
43 |
fn=run_scripts,
|
44 |
inputs=[
|
45 |
-
gr.
|
46 |
-
gr.
|
47 |
],
|
48 |
-
outputs=gr.
|
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
|