Spaces:
Running
Running
Commit
·
16a2b36
1
Parent(s):
09455f2
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,9 +66,18 @@ def swap_face(source_file, target_file,doFaceEnhancer):
|
|
| 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()
|
|
|
|
| 66 |
return output_path
|
| 67 |
|
| 68 |
title = "Face - integrator"
|
| 69 |
+
|
| 70 |
+
description = r"""
|
| 71 |
+
"""
|
| 72 |
+
article = r"""
|
| 73 |
+
"""
|
| 74 |
+
|
| 75 |
+
|
| 76 |
app = gr.Interface(
|
| 77 |
fn=swap_face,
|
| 78 |
title=title,
|
| 79 |
+
description=description,
|
| 80 |
+
article=article,
|
| 81 |
inputs=[gr.Image(), gr.Image(),gr.Checkbox(label="Использовать?", info="Улучшение качества + 20-30 сек.")], outputs="image"
|
| 82 |
)
|
| 83 |
app.launch()
|