Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,9 @@ output_dir = "uploads/output"
|
|
| 9 |
os.makedirs(output_dir, exist_ok=True)
|
| 10 |
client = Client("leonormar009/Gen-Z", token=hf_token, download_files=output_dir)
|
| 11 |
|
| 12 |
-
|
| 13 |
#PRO_URL = f"https://www.face-swap.co/?{UTM}"
|
|
|
|
| 14 |
|
| 15 |
# ββ helpers ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 16 |
def preprocess_video(path: str, target_fps: int = 12,
|
|
|
|
| 9 |
os.makedirs(output_dir, exist_ok=True)
|
| 10 |
client = Client("leonormar009/Gen-Z", token=hf_token, download_files=output_dir)
|
| 11 |
|
| 12 |
+
UTM = "utm_source=hugging_face_space&utm_medium=banner&utm_campaign=pro_cta"
|
| 13 |
#PRO_URL = f"https://www.face-swap.co/?{UTM}"
|
| 14 |
+
PRO_URL = f"https://marpogi.qzz.io/?{UTM}"
|
| 15 |
|
| 16 |
# ββ helpers ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 17 |
def preprocess_video(path: str, target_fps: int = 12,
|