Update app.py
Browse files
app.py
CHANGED
@@ -86,6 +86,11 @@ ad_code2 = """
|
|
86 |
|
87 |
|
88 |
app = gr.Interface(
|
89 |
-
fn=swap_face,
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
)
|
91 |
-
app.launch()
|
|
|
86 |
|
87 |
|
88 |
app = gr.Interface(
|
89 |
+
fn=swap_face,
|
90 |
+
# Possible argument names: "title", "header", "banner", "above_inputs", etc.
|
91 |
+
# You'll need to replace "???" with the correct one from the Gradio docs.
|
92 |
+
markdown=gr.HTML(ad_code),
|
93 |
+
inputs=[gr.Image(), gr.Image(), gr.Checkbox(label="face_enhancer?", info="do face enhancer?")],
|
94 |
+
outputs="image",
|
95 |
+
description=gr.HTML(ad_code2) # If this is for a description below the inputs
|
96 |
)
|
|