tonyassi commited on
Commit
0731858
Β·
verified Β·
1 Parent(s): 234912c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -51,6 +51,8 @@ def preprocess_video(path: str, target_fps: int = 12,
51
  # ── main generate ────────────────────────────────────────────────────
52
  def generate(input_image, input_video, gender):
53
 
 
 
54
  if (gender=="all"): gender = None
55
 
56
  try:
@@ -90,9 +92,14 @@ demo = gr.Interface(
90
  fn=generate,
91
  title="Deep Fake Video",
92
  description="""
93
- by [Tony Assi](https://www.tonyassi.com/)
 
 
 
 
 
94
 
95
- Swaps the source image face onto the target video. Videos get downsampled to 800 pixels, 4 sec, and 12 fps to cut down render time (~5 minutes). Please ❀️ this Space. [email protected] for business inquiries.
96
  """,
97
  inputs=[
98
  gr.Image(type="filepath", label="Source Image"),
 
51
  # ── main generate ────────────────────────────────────────────────────
52
  def generate(input_image, input_video, gender):
53
 
54
+ gr.Warning('Skip the line, generate 1-5 minute HD face swap videos at <a href="https://www.face-swap.co/" target="_blank" style="color:#007bff; text-decoration:none;">face-swap.co</a>')
55
+
56
  if (gender=="all"): gender = None
57
 
58
  try:
 
92
  fn=generate,
93
  title="Deep Fake Video",
94
  description="""
95
+ ---
96
+
97
+ ### [face-swap.co](https://www.face-swap.co/)
98
+ ***Skip the line, generate 1-5 minute HD videos starting at $3.00***
99
+
100
+ ---
101
 
102
+ Swaps the source image face onto the target video. Videos get downsampled to 800 pixels, 4 sec, and 12 fps to cut down render time (~5 minutes). Please ❀️ this Space.
103
  """,
104
  inputs=[
105
  gr.Image(type="filepath", label="Source Image"),