kiran chauhan commited on
Commit
5abfef0
1 Parent(s): ca04774

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -66,6 +66,15 @@ def swap_face(source_file, target_file, doFaceEnhancer):
66
 
67
  html_section_1 = "<div><h1>Welcome to the Face Swap App</h1></div>"
68
  html_section_2 = "<div><p>Upload your source and target images to swap faces. Optionally, use the face enhancer feature.</p></div>"
 
 
 
 
 
 
 
 
 
69
  </a>
70
  </div>"""
71
 
@@ -74,6 +83,7 @@ app = gr.Blocks()
74
  with app:
75
  gr.HTML(html_section_1)
76
  gr.HTML(html_section_2)
 
77
  gr.Interface(
78
  fn=swap_face,
79
  inputs=[gr.Image(), gr.Image(), gr.Checkbox(label="face_enhancer?", info="do face enhancer?")],
 
66
 
67
  html_section_1 = "<div><h1>Welcome to the Face Swap App</h1></div>"
68
  html_section_2 = "<div><p>Upload your source and target images to swap faces. Optionally, use the face enhancer feature.</p></div>"
69
+ html_section_3 = """<div>
70
+ <a href="https://ziverr.xyz/monica" target="_blank" style="display: inline-block;">
71
+ <img decoding="async" alt="banner" src="https://ziverr.xyz/wp-content/uploads/2024/06/PASSIVE-3.gif">
72
+ </a>
73
+ <a href="https://go.fiverr.com/visit/?bta=36184&brand=fiverrcpa&landingPage=https%253A%252F%252Fwww.fiverr.com%252Fcategories%252Fprogramming-tech%252Fai-coding%252Fai-applications%253Fsource%253Dcategory_tree" target="_blank" style="display: inline-block;">
74
+ <img fetchpriority="high" decoding="async" width="468" height="120" src="https://ziverr.xyz/wp-content/uploads/2024/06/PASSIVE-1.gif" class="attachment-large size-large wp-image-1266" alt="">
75
+ </a>
76
+ <a href="https://beta.publishers.adsterra.com/referral/UNXJYTziBP" target="_blank" style="display: inline-block;">
77
+ <img decoding="async" alt="banner" src="https://landings-cdn.adsterratech.com/referralBanners/gif/468x120_adsterra_reff.gif">
78
  </a>
79
  </div>"""
80
 
 
83
  with app:
84
  gr.HTML(html_section_1)
85
  gr.HTML(html_section_2)
86
+ gr.HTML(html_section_3)
87
  gr.Interface(
88
  fn=swap_face,
89
  inputs=[gr.Image(), gr.Image(), gr.Checkbox(label="face_enhancer?", info="do face enhancer?")],