Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
"
|
32 |
-
"
|
33 |
-
gr.
|
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)
|