benner3000 commited on
Commit
ced0f0a
·
verified ·
1 Parent(s): adeb7b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -10
app.py CHANGED
@@ -16,15 +16,8 @@ from PIL import Image
16
 
17
  article_text = """
18
  <div style="text-align: center;">
19
- <p>Enjoying the tool? Buy me a coffee and get exclusive prompt guides!</p>
20
- <p><i>Instantly unlock helpful tips for creating better prompts!</i></p>
21
- <div style="display: flex; justify-content: center;">
22
- <a href="https://piczify.lemonsqueezy.com/buy/0f5206fa-68e8-42f6-9ca8-4f80c587c83e">
23
- <img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png"
24
- alt="Buy Me a Coffee"
25
- style="height: 40px; width: auto; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); border-radius: 10px;">
26
- </a>
27
- </div>
28
  </div>
29
  """
30
 
@@ -81,6 +74,6 @@ def swap_face(source_file, target_file,doFaceEnhancer):
81
 
82
 
83
  app = gr.Interface(
84
- fn=swap_face, inputs=[gr.Image(), gr.Image(),gr.Checkbox(label="face_enhancer?", info="do face enhancer?")], outputs="image", article = article_text
85
  )
86
  app.launch()
 
16
 
17
  article_text = """
18
  <div style="text-align: center;">
19
+ <p>Leer zelf Generative AI-tools te bouwen en te begrijpen!</p>
20
+ <a href="https://www.glossybranding.com/masterclass">Schrijf je in voor de AI Masterclass</a>
 
 
 
 
 
 
 
21
  </div>
22
  """
23
 
 
74
 
75
 
76
  app = gr.Interface(
77
+ fn=swap_face, inputs=[gr.Image(), gr.Image(),gr.Checkbox(label="face_enhancer?", info="do face enhancer?")], outputs="image",
78
  )
79
  app.launch()