CoolFace
Apppublic

wavespeed/infinitetalk

sourceHugging Facemitupdated 1mo agoView on Hugging Face
0likes
app.py54 linesDownload Raw Back to root
1"""InfiniteTalk — powered by WaveSpeed AI.2 3Generated from _shared/apps.py — edit the spec there, not this file.4"""5 6import os7 8# Set before gradio is imported: its telemetry client reads these at import time.9os.environ.setdefault("GRADIO_ANALYTICS_ENABLED", "False")10os.environ.setdefault("HF_HUB_DISABLE_TELEMETRY", "1")11 12from pathlib import Path  # noqa: E40213 14import spaceui  # noqa: E40215 16SPEC = {17    "title": "InfiniteTalk",18    "model": "wavespeed-ai/infinitetalk",19    "output": "video",20    "tagline": "Drive a portrait from an audio track — lip sync and head motion.",21    "fields": [22        {23            "kind": "image",24            "key": "image",25            "label": "Input image"26        },27        {28            "kind": "audio",29            "key": "audio",30            "label": "Driving audio"31        },32        {33            "kind": "choice",34            "key": "resolution",35            "label": "Resolution",36            "choices": [37                "480p",38                "720p"39            ],40            "default": "480p"41        },42        {43            "kind": "seed",44            "key": "seed"45        }46    ],47    "campaign": "infinitetalk"48}49 50SPEC["css"] = Path(__file__).with_name("style.css").read_text(encoding="utf-8")51 52if __name__ == "__main__":53    spaceui.launch(spaceui.build(SPEC), SPEC["css"])54