Spaces:
Running
Running
DmitrMakeev
commited on
Commit
•
09455f2
1
Parent(s):
9d5b578
Update app.py
Browse files
app.py
CHANGED
@@ -65,8 +65,10 @@ def swap_face(source_file, target_file,doFaceEnhancer):
|
|
65 |
start()
|
66 |
return output_path
|
67 |
|
68 |
-
|
69 |
app = gr.Interface(
|
70 |
-
fn=swap_face,
|
|
|
|
|
71 |
)
|
72 |
app.launch()
|
|
|
65 |
start()
|
66 |
return output_path
|
67 |
|
68 |
+
title = "Face - integrator"
|
69 |
app = gr.Interface(
|
70 |
+
fn=swap_face,
|
71 |
+
title=title,
|
72 |
+
inputs=[gr.Image(), gr.Image(),gr.Checkbox(label="Использовать?", info="Улучшение качества + 20-30 сек.")], outputs="image"
|
73 |
)
|
74 |
app.launch()
|