aheedsajid commited on
Commit
5328ce5
·
verified ·
1 Parent(s): f6e269b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -87,10 +87,9 @@ ad_code2 = """
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
- banner=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
  )
 
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
  )