Update app.py
Browse files
app.py
CHANGED
@@ -87,10 +87,9 @@ ad_code2 = """
|
|
87 |
|
88 |
app = gr.Interface(
|
89 |
fn=swap_face,
|
90 |
-
#
|
91 |
-
# You'll need to replace "???" with the correct one from the Gradio docs.
|
92 |
-
banner=gr.HTML(ad_code),
|
93 |
inputs=[gr.Image(), gr.Image(), gr.Checkbox(label="face_enhancer?", info="do face enhancer?")],
|
94 |
outputs="image",
|
95 |
-
|
|
|
96 |
)
|
|
|
87 |
|
88 |
app = gr.Interface(
|
89 |
fn=swap_face,
|
90 |
+
# ???=gr.HTML(ad_code2), # Remove this line or replace '???'
|
|
|
|
|
91 |
inputs=[gr.Image(), gr.Image(), gr.Checkbox(label="face_enhancer?", info="do face enhancer?")],
|
92 |
outputs="image",
|
93 |
+
# Directly pass the HTML code as a string
|
94 |
+
description=ad_code2
|
95 |
)
|