Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,6 +74,7 @@ def swap_face(source_file, target_file,doFaceEnhancer):
|
|
| 74 |
|
| 75 |
|
| 76 |
app = gr.Interface(
|
| 77 |
-
fn=swap_face, inputs=[gr.Image(), gr.Image(),gr.Checkbox(label="face_enhancer?", info="do face enhancer?")], outputs="image", article=article_text,
|
|
|
|
| 78 |
)
|
| 79 |
app.launch()
|
|
|
|
| 74 |
|
| 75 |
|
| 76 |
app = gr.Interface(
|
| 77 |
+
fn=swap_face, inputs=[gr.Image(), gr.Image(),gr.Checkbox(label="face_enhancer?", info="do face enhancer?")], outputs="image", article=article_text, allow_flagging="never",
|
| 78 |
+
show_api=False
|
| 79 |
)
|
| 80 |
app.launch()
|