Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,9 +3,9 @@ import os
|
|
| 3 |
import subprocess
|
| 4 |
import uuid
|
| 5 |
|
| 6 |
-
#
|
| 7 |
if not os.path.exists("wav2lip_gan.pth"):
|
| 8 |
-
os.system("wget https://
|
| 9 |
|
| 10 |
def generate(image, audio):
|
| 11 |
uid = str(uuid.uuid4())
|
|
@@ -28,6 +28,7 @@ gr.Interface(
|
|
| 28 |
gr.Audio(type="filepath", label="Audio (WAV only)")
|
| 29 |
],
|
| 30 |
outputs=gr.Video(label="Talking Video"),
|
| 31 |
-
|
| 32 |
-
|
|
|
|
| 33 |
).launch()
|
|
|
|
| 3 |
import subprocess
|
| 4 |
import uuid
|
| 5 |
|
| 6 |
+
# ✅ Public model link (no login needed)
|
| 7 |
if not os.path.exists("wav2lip_gan.pth"):
|
| 8 |
+
os.system("wget https://www.adrianbulat.com/downloads/wav2lip/wav2lip_gan.pth")
|
| 9 |
|
| 10 |
def generate(image, audio):
|
| 11 |
uid = str(uuid.uuid4())
|
|
|
|
| 28 |
gr.Audio(type="filepath", label="Audio (WAV only)")
|
| 29 |
],
|
| 30 |
outputs=gr.Video(label="Talking Video"),
|
| 31 |
+
title="Wav2Lip (CPU)",
|
| 32 |
+
description="Generate a lip-synced talking video from an image and audio file.",
|
| 33 |
+
live=True
|
| 34 |
).launch()
|