aheedsajid commited on
Commit
c9afbde
·
verified ·
1 Parent(s): b61e3ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -86,6 +86,11 @@ ad_code2 = """
86
 
87
 
88
  app = gr.Interface(
89
- fn=swap_face, inputs=[gr.Image(), gr.Image(),gr.Checkbox(label="face_enhancer?", info="do face enhancer?")],gr.HTML(ad_code2), outputs="image"
 
 
 
 
 
 
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
  )