Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,9 +82,9 @@ def swap_face(source_file, target_file, doFaceEnhancer):
|
|
| 82 |
app = gr.Interface(
|
| 83 |
fn=swap_face,
|
| 84 |
inputs=[
|
| 85 |
-
gr.Image(label="Source Face Image
|
| 86 |
-
gr.Image(label="Target Image
|
| 87 |
-
gr.Checkbox(label="Apply Face Enhancement
|
| 88 |
],
|
| 89 |
outputs="image",
|
| 90 |
title="AI Face Swap Tool",
|
|
|
|
| 82 |
app = gr.Interface(
|
| 83 |
fn=swap_face,
|
| 84 |
inputs=[
|
| 85 |
+
gr.Image(label="Source Face Image: upload a photo containing the face you want to use. Make sure the face is clearly visible."),
|
| 86 |
+
gr.Image(label="Target Image: Upload the photo where you want to place the new face. This image should also contain a clearly visible face."),
|
| 87 |
+
gr.Checkbox(label="Apply Face Enhancement :Check this to improve the quality and realism of the swapped face. Recommended for better results.")
|
| 88 |
],
|
| 89 |
outputs="image",
|
| 90 |
title="AI Face Swap Tool",
|