{
  "nbformat": 4,
  "nbformat_minor": 0,
  "metadata": {
    "colab": {
      "provenance": [],
      "gpuType": "T4"
    },
    "kernelspec": {
      "name": "python3",
      "display_name": "Python 3"
    },
    "language_info": {
      "name": "python"
    },
    "accelerator": "GPU"
  },
  "cells": [
    {
      "cell_type": "code",
      "execution_count": 1,
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "oy1PNAUSm0WA",
        "outputId": "3a104ee2-c442-4c3f-c3bf-7db703f99621"
      },
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Sat Sep 12 12:35:32 2026       \n",
            "+-----------------------------------------------------------------------------------------+\n",
            "| NVIDIA-SMI 580.82.07              Driver Version: 580.82.07      CUDA Version: 13.0     |\n",
            "+-----------------------------------------+------------------------+----------------------+\n",
            "| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |\n",
            "| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |\n",
            "|                                         |                        |               MIG M. |\n",
            "|=========================================+========================+======================|\n",
            "|   0  Tesla T4                       Off |   00000000:00:04.0 Off |                    0 |\n",
            "| N/A   49C    P8             12W /   70W |       0MiB /  15360MiB |      0%      Default |\n",
            "|                                         |                        |                  N/A |\n",
            "+-----------------------------------------+------------------------+----------------------+\n",
            "\n",
            "+-----------------------------------------------------------------------------------------+\n",
            "| Processes:                                                                              |\n",
            "|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |\n",
            "|        ID   ID                                                               Usage      |\n",
            "|=========================================================================================|\n",
            "|  No running processes found                                                             |\n",
            "+-----------------------------------------------------------------------------------------+\n"
          ]
        }
      ],
      "source": [
        "!nvidia-smi\n"
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "!apt-get update -qq && apt-get install -y -qq ffmpeg git wget\n"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "HAOq2ZKRnblo",
        "outputId": "7efabf4f-5f7d-4fc6-a805-67f24d0878d5"
      },
      "execution_count": 2,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "W: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.\n",
            "W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://r2u.stat.illinois.edu/ubuntu noble InRelease' does not seem to provide it (sources.list entry misspelt?)\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "%cd /content\n",
        "!rm -rf SadTalker\n",
        "!git clone https://github.com/OpenTalker/SadTalker.git\n",
        "%cd /content/SadTalker\n"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "WD9_M3O8nirT",
        "outputId": "ac2b034e-8aca-44f5-a253-eddf517fcc3f"
      },
      "execution_count": 3,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "/content\n",
            "Cloning into 'SadTalker'...\n",
            "remote: Enumerating objects: 1605, done.\u001b[K\n",
            "remote: Total 1605 (delta 0), reused 0 (delta 0), pack-reused 1605 (from 1)\u001b[K\n",
            "Receiving objects: 100% (1605/1605), 92.27 MiB | 17.52 MiB/s, done.\n",
            "Resolving deltas: 100% (804/804), done.\n",
            "/content/SadTalker\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "!pip install -q torch torchvision torchaudio\n"
      ],
      "metadata": {
        "id": "tVwLpc2Pnqh-"
      },
      "execution_count": 4,
      "outputs": []
    },
    {
      "cell_type": "code",
      "source": [
        "!pip install -q -r requirements.txt\n"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "uyL3bLXtnu_1",
        "outputId": "ab52e9c5-2ec7-417d-bc03-b9d56621d297"
      },
      "execution_count": 5,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.7/10.7 MB\u001b[0m \u001b[31m24.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25h  Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n",
            "  \u001b[1;31merror\u001b[0m: \u001b[1msubprocess-exited-with-error\u001b[0m\n",
            "  \n",
            "  \u001b[31m×\u001b[0m \u001b[32mGetting requirements to build wheel\u001b[0m did not run successfully.\n",
            "  \u001b[31m│\u001b[0m exit code: \u001b[1;36m1\u001b[0m\n",
            "  \u001b[31m╰─>\u001b[0m See above for output.\n",
            "  \n",
            "  \u001b[1;35mnote\u001b[0m: This error originates from a subprocess, and is likely not a problem with pip.\n",
            "  Getting requirements to build wheel ... \u001b[?25l\u001b[?25herror\n",
            "\u001b[1;31merror\u001b[0m: \u001b[1msubprocess-exited-with-error\u001b[0m\n",
            "\n",
            "\u001b[31m×\u001b[0m \u001b[32mGetting requirements to build wheel\u001b[0m did not run successfully.\n",
            "\u001b[31m│\u001b[0m exit code: \u001b[1;36m1\u001b[0m\n",
            "\u001b[31m╰─>\u001b[0m See above for output.\n",
            "\n",
            "\u001b[1;35mnote\u001b[0m: This error originates from a subprocess, and is likely not a problem with pip.\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "!pip install -q \"gradio==3.41.2\" TTS==0.13.3\n"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "o8335seen7m1",
        "outputId": "bac02c60-46da-4478-c1a2-be5e2dca81cb"
      },
      "execution_count": 7,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "\u001b[31mERROR: Ignored the following versions that require a different python version: 0.0.10.2 Requires-Python >=3.6.0, <3.9; 0.0.10.3 Requires-Python >=3.6.0, <3.9; 0.0.11 Requires-Python >=3.6.0, <3.9; 0.0.12 Requires-Python >=3.6.0, <3.9; 0.0.13.1 Requires-Python >=3.6.0, <3.9; 0.0.13.2 Requires-Python >=3.6.0, <3.9; 0.0.14.1 Requires-Python >=3.6.0, <3.9; 0.0.15 Requires-Python >=3.6.0, <3.9; 0.0.15.1 Requires-Python >=3.6.0, <3.9; 0.0.9 Requires-Python >=3.6.0, <3.9; 0.0.9.1 Requires-Python >=3.6.0, <3.9; 0.0.9.2 Requires-Python >=3.6.0, <3.9; 0.0.9a10 Requires-Python >=3.6.0, <3.9; 0.0.9a9 Requires-Python >=3.6.0, <3.9; 0.1.0 Requires-Python >=3.6.0, <3.10; 0.1.1 Requires-Python >=3.6.0, <3.10; 0.1.2 Requires-Python >=3.6.0, <3.10; 0.1.3 Requires-Python >=3.6.0, <3.10; 0.10.0 Requires-Python >=3.7.0, <3.11; 0.10.1 Requires-Python >=3.7.0, <3.11; 0.10.2 Requires-Python >=3.7.0, <3.11; 0.11.0 Requires-Python >=3.7.0, <3.11; 0.11.1 Requires-Python >=3.7.0, <3.11; 0.12.0 Requires-Python >=3.7.0, <3.11; 0.13.0 Requires-Python >=3.7.0, <3.11; 0.13.1 Requires-Python >=3.7.0, <3.11; 0.13.2 Requires-Python >=3.7.0, <3.11; 0.13.3 Requires-Python >=3.7.0, <3.11; 0.14.0 Requires-Python >=3.7.0, <3.11; 0.14.2 Requires-Python >=3.7.0, <3.11; 0.14.3 Requires-Python >=3.7.0, <3.11; 0.15.0 Requires-Python >=3.9.0, <3.12; 0.15.1 Requires-Python >=3.9.0, <3.12; 0.15.2 Requires-Python >=3.9.0, <3.12; 0.15.4 Requires-Python >=3.9.0, <3.12; 0.15.5 Requires-Python >=3.9.0, <3.12; 0.15.6 Requires-Python >=3.9.0, <3.12; 0.16.0 Requires-Python >=3.9.0, <3.12; 0.16.1 Requires-Python >=3.9.0, <3.12; 0.16.3 Requires-Python >=3.9.0, <3.12; 0.16.4 Requires-Python >=3.9.0, <3.12; 0.16.5 Requires-Python >=3.9.0, <3.12; 0.16.6 Requires-Python >=3.9.0, <3.12; 0.17.0 Requires-Python >=3.9.0, <3.12; 0.17.1 Requires-Python >=3.9.0, <3.12; 0.17.2 Requires-Python >=3.9.0, <3.12; 0.17.4 Requires-Python >=3.9.0, <3.12; 0.17.5 Requires-Python >=3.9.0, <3.12; 0.17.6 Requires-Python >=3.9.0, <3.12; 0.17.7 Requires-Python >=3.9.0, <3.12; 0.17.8 Requires-Python >=3.9.0, <3.12; 0.17.9 Requires-Python >=3.9.0, <3.12; 0.18.0 Requires-Python >=3.9.0, <3.12; 0.18.1 Requires-Python >=3.9.0, <3.12; 0.18.2 Requires-Python >=3.9.0, <3.12; 0.19.0 Requires-Python >=3.9.0, <3.12; 0.19.1 Requires-Python >=3.9.0, <3.12; 0.2.0 Requires-Python >=3.6.0, <3.10; 0.2.1 Requires-Python >=3.6.0, <3.10; 0.2.2 Requires-Python >=3.6.0, <3.10; 0.20.0 Requires-Python >=3.9.0, <3.12; 0.20.1 Requires-Python >=3.9.0, <3.12; 0.20.2 Requires-Python >=3.9.0, <3.12; 0.20.3 Requires-Python >=3.9.0, <3.12; 0.20.4 Requires-Python >=3.9.0, <3.12; 0.20.5 Requires-Python >=3.9.0, <3.12; 0.20.6 Requires-Python >=3.9.0, <3.12; 0.21.0 Requires-Python >=3.9.0, <3.12; 0.21.1 Requires-Python >=3.9.0, <3.12; 0.21.2 Requires-Python >=3.9.0, <3.12; 0.21.3 Requires-Python >=3.9.0, <3.12; 0.22.0 Requires-Python >=3.9.0, <3.12; 0.3.0 Requires-Python >=3.6.0, <3.10; 0.3.1 Requires-Python >=3.6.0, <3.10; 0.4.0 Requires-Python >=3.6.0, <3.10; 0.4.1 Requires-Python >=3.6.0, <3.10; 0.4.2 Requires-Python >=3.6.0, <3.10; 0.5.0 Requires-Python >=3.6.0, <3.10; 0.6.0 Requires-Python >=3.6.0, <3.10; 0.6.1 Requires-Python >=3.6.0, <3.10; 0.6.2 Requires-Python >=3.6.0, <3.10; 0.7.0 Requires-Python >=3.7.0, <3.11; 0.7.1 Requires-Python >=3.7.0, <3.11; 0.8.0 Requires-Python >=3.7.0, <3.11; 0.9.0 Requires-Python >=3.7.0, <3.11\u001b[0m\u001b[31m\n",
            "\u001b[0m\u001b[31mERROR: Could not find a version that satisfies the requirement TTS==0.13.3 (from versions: none)\u001b[0m\u001b[31m\n",
            "\u001b[0m\u001b[31mERROR: No matching distribution found for TTS==0.13.3\u001b[0m\u001b[31m\n",
            "\u001b[0m"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "!sed -i 's/from torchvision.transforms.functional_tensor import rgb_to_grayscale/from torchvision.transforms.functional import rgb_to_grayscale/' /usr/local/lib/python3.*/dist-packages/basicsr/data/degradations.py || true\n",
        "print(\"Dependencies installed and BasicSR patch applied successfully!\")"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "Q6bXFQ4noALk",
        "outputId": "e5ec3e05-61f3-4266-efce-3f2f8d2cc55c"
      },
      "execution_count": 8,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "sed: can't read /usr/local/lib/python3.*/dist-packages/basicsr/data/degradations.py: No such file or directory\n",
            "Dependencies installed and BasicSR patch applied successfully!\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "%cd /content/SadTalker"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "xDoVpXKdoHIq",
        "outputId": "ccd0de32-933c-4276-c331-f77710d707a5"
      },
      "execution_count": 9,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "/content/SadTalker\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "!bash scripts/download_models.sh\n"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "_ZZ9V4dxoInp",
        "outputId": "8591938d-9be1-4201-bde7-db256aa15fae"
      },
      "execution_count": 10,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "--2026-09-12 12:38:47--  https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00109-model.pth.tar\n",
            "Resolving github.com (github.com)... 20.205.243.166\n",
            "Connecting to github.com (github.com)|20.205.243.166|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://release-assets.githubusercontent.com/github-production-release-asset/569518584/ccc415aa-c6f4-47ee-8250-b10bf440ba62?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A25%3A27Z&rscd=attachment%3B+filename%3Dmapping_00109-model.pth.tar&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A25%3A01Z&ske=2026-09-12T13%3A25%3A27Z&sks=b&skv=2018-11-09&sig=ixXCEFSgJzsU%2Fml7XHPiGMgFKAfjLnlkAKR9Qck0vZE%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDMyOCwibmJmIjoxNzg5MjE2NzI4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.VpzSd6VNArQQUatUjSgZA3x5FZiXp5MNInVA0t0t5YA&response-content-disposition=attachment%3B%20filename%3Dmapping_00109-model.pth.tar&response-content-type=application%2Foctet-stream [following]\n",
            "--2026-09-12 12:38:48--  https://release-assets.githubusercontent.com/github-production-release-asset/569518584/ccc415aa-c6f4-47ee-8250-b10bf440ba62?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A25%3A27Z&rscd=attachment%3B+filename%3Dmapping_00109-model.pth.tar&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A25%3A01Z&ske=2026-09-12T13%3A25%3A27Z&sks=b&skv=2018-11-09&sig=ixXCEFSgJzsU%2Fml7XHPiGMgFKAfjLnlkAKR9Qck0vZE%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDMyOCwibmJmIjoxNzg5MjE2NzI4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.VpzSd6VNArQQUatUjSgZA3x5FZiXp5MNInVA0t0t5YA&response-content-disposition=attachment%3B%20filename%3Dmapping_00109-model.pth.tar&response-content-type=application%2Foctet-stream\n",
            "Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.111.133, ...\n",
            "Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 155779231 (149M) [application/octet-stream]\n",
            "Saving to: ‘./checkpoints/mapping_00109-model.pth.tar’\n",
            "\n",
            "./checkpoints/mappi 100%[===================>] 148.56M  39.6MB/s    in 3.8s    \n",
            "\n",
            "2026-09-12 12:38:52 (39.6 MB/s) - ‘./checkpoints/mapping_00109-model.pth.tar’ saved [155779231/155779231]\n",
            "\n",
            "--2026-09-12 12:38:52--  https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00229-model.pth.tar\n",
            "Resolving github.com (github.com)... 20.205.243.166\n",
            "Connecting to github.com (github.com)|20.205.243.166|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://release-assets.githubusercontent.com/github-production-release-asset/569518584/280b5a48-9356-4459-8be8-5702a4c61745?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A27%3A05Z&rscd=attachment%3B+filename%3Dmapping_00229-model.pth.tar&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A26%3A48Z&ske=2026-09-12T13%3A27%3A05Z&sks=b&skv=2018-11-09&sig=Ax%2FuPEPIp7UlchgMgP%2FACz6ErTTda0G6KSO6BzJfVtc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDMzMywibmJmIjoxNzg5MjE2NzMzLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.USxykZA9kAIqb_eWaPdPF-zihiUUWxAheJsEwJR8xos&response-content-disposition=attachment%3B%20filename%3Dmapping_00229-model.pth.tar&response-content-type=application%2Foctet-stream [following]\n",
            "--2026-09-12 12:38:53--  https://release-assets.githubusercontent.com/github-production-release-asset/569518584/280b5a48-9356-4459-8be8-5702a4c61745?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A27%3A05Z&rscd=attachment%3B+filename%3Dmapping_00229-model.pth.tar&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A26%3A48Z&ske=2026-09-12T13%3A27%3A05Z&sks=b&skv=2018-11-09&sig=Ax%2FuPEPIp7UlchgMgP%2FACz6ErTTda0G6KSO6BzJfVtc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDMzMywibmJmIjoxNzg5MjE2NzMzLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.USxykZA9kAIqb_eWaPdPF-zihiUUWxAheJsEwJR8xos&response-content-disposition=attachment%3B%20filename%3Dmapping_00229-model.pth.tar&response-content-type=application%2Foctet-stream\n",
            "Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.108.133, ...\n",
            "Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.111.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 155521183 (148M) [application/octet-stream]\n",
            "Saving to: ‘./checkpoints/mapping_00229-model.pth.tar’\n",
            "\n",
            "./checkpoints/mappi 100%[===================>] 148.32M   242MB/s    in 0.6s    \n",
            "\n",
            "2026-09-12 12:38:53 (242 MB/s) - ‘./checkpoints/mapping_00229-model.pth.tar’ saved [155521183/155521183]\n",
            "\n",
            "--2026-09-12 12:38:53--  https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_256.safetensors\n",
            "Resolving github.com (github.com)... 20.205.243.166\n",
            "Connecting to github.com (github.com)|20.205.243.166|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://release-assets.githubusercontent.com/github-production-release-asset/569518584/93be550c-5100-467a-9ac3-994ddf04fb7e?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A19%3A16Z&rscd=attachment%3B+filename%3DSadTalker_V0.0.2_256.safetensors&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A18%3A43Z&ske=2026-09-12T13%3A19%3A16Z&sks=b&skv=2018-11-09&sig=253%2BH8Fk7%2BALhsem%2BGYv483Lr6CyAwgVs5YVTQL4BPI%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDMzNCwibmJmIjoxNzg5MjE2NzM0LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.xlrGQ61hQuDjrsGVDVvcLiPivWXXNEYCpqQff498A_g&response-content-disposition=attachment%3B%20filename%3DSadTalker_V0.0.2_256.safetensors&response-content-type=application%2Foctet-stream [following]\n",
            "--2026-09-12 12:38:54--  https://release-assets.githubusercontent.com/github-production-release-asset/569518584/93be550c-5100-467a-9ac3-994ddf04fb7e?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A19%3A16Z&rscd=attachment%3B+filename%3DSadTalker_V0.0.2_256.safetensors&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A18%3A43Z&ske=2026-09-12T13%3A19%3A16Z&sks=b&skv=2018-11-09&sig=253%2BH8Fk7%2BALhsem%2BGYv483Lr6CyAwgVs5YVTQL4BPI%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDMzNCwibmJmIjoxNzg5MjE2NzM0LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.xlrGQ61hQuDjrsGVDVvcLiPivWXXNEYCpqQff498A_g&response-content-disposition=attachment%3B%20filename%3DSadTalker_V0.0.2_256.safetensors&response-content-type=application%2Foctet-stream\n",
            "Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
            "Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 725066984 (691M) [application/octet-stream]\n",
            "Saving to: ‘./checkpoints/SadTalker_V0.0.2_256.safetensors’\n",
            "\n",
            "./checkpoints/SadTa 100%[===================>] 691.48M  35.5MB/s    in 14s     \n",
            "\n",
            "2026-09-12 12:39:07 (50.2 MB/s) - ‘./checkpoints/SadTalker_V0.0.2_256.safetensors’ saved [725066984/725066984]\n",
            "\n",
            "--2026-09-12 12:39:07--  https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_512.safetensors\n",
            "Resolving github.com (github.com)... 20.205.243.166\n",
            "Connecting to github.com (github.com)|20.205.243.166|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://release-assets.githubusercontent.com/github-production-release-asset/569518584/920c0f45-4f3b-43a6-98a7-6a1899d5e0f6?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A33%3A21Z&rscd=attachment%3B+filename%3DSadTalker_V0.0.2_512.safetensors&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A33%3A19Z&ske=2026-09-12T13%3A33%3A21Z&sks=b&skv=2018-11-09&sig=VUU8UPy6rM50Xyp5vcBUrkyDUHdTYWNDyLb09K%2F7dXQ%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDM0OCwibmJmIjoxNzg5MjE2NzQ4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.MVWqWTli1QmxbWKddjCRb1Nx3UhrfLGocruTgKaJZyE&response-content-disposition=attachment%3B%20filename%3DSadTalker_V0.0.2_512.safetensors&response-content-type=application%2Foctet-stream [following]\n",
            "--2026-09-12 12:39:08--  https://release-assets.githubusercontent.com/github-production-release-asset/569518584/920c0f45-4f3b-43a6-98a7-6a1899d5e0f6?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A33%3A21Z&rscd=attachment%3B+filename%3DSadTalker_V0.0.2_512.safetensors&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A33%3A19Z&ske=2026-09-12T13%3A33%3A21Z&sks=b&skv=2018-11-09&sig=VUU8UPy6rM50Xyp5vcBUrkyDUHdTYWNDyLb09K%2F7dXQ%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDM0OCwibmJmIjoxNzg5MjE2NzQ4LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.MVWqWTli1QmxbWKddjCRb1Nx3UhrfLGocruTgKaJZyE&response-content-disposition=attachment%3B%20filename%3DSadTalker_V0.0.2_512.safetensors&response-content-type=application%2Foctet-stream\n",
            "Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
            "Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 725066984 (691M) [application/octet-stream]\n",
            "Saving to: ‘./checkpoints/SadTalker_V0.0.2_512.safetensors’\n",
            "\n",
            "./checkpoints/SadTa 100%[===================>] 691.48M   142MB/s    in 6.9s    \n",
            "\n",
            "2026-09-12 12:39:15 (100 MB/s) - ‘./checkpoints/SadTalker_V0.0.2_512.safetensors’ saved [725066984/725066984]\n",
            "\n",
            "--2026-09-12 12:39:15--  https://github.com/xinntao/facexlib/releases/download/v0.1.0/alignment_WFLW_4HG.pth\n",
            "Resolving github.com (github.com)... 20.205.243.166\n",
            "Connecting to github.com (github.com)|20.205.243.166|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://release-assets.githubusercontent.com/github-production-release-asset/349361573/28699600-c7d2-11eb-86b8-0cc50b63a09e?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A27%3A21Z&rscd=attachment%3B+filename%3Dalignment_WFLW_4HG.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A26%3A50Z&ske=2026-09-12T13%3A27%3A21Z&sks=b&skv=2018-11-09&sig=jwFYRVSOIeB%2BOTlTBmACH3Pr6yfMuGHLOs6PxhNU2Wc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDM1NSwibmJmIjoxNzg5MjE2NzU1LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.GlJ7sItOrzVwQiw7P6kYhMBRYAMv0M0SQhJWTChfpFg&response-content-disposition=attachment%3B%20filename%3Dalignment_WFLW_4HG.pth&response-content-type=application%2Foctet-stream [following]\n",
            "--2026-09-12 12:39:15--  https://release-assets.githubusercontent.com/github-production-release-asset/349361573/28699600-c7d2-11eb-86b8-0cc50b63a09e?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A27%3A21Z&rscd=attachment%3B+filename%3Dalignment_WFLW_4HG.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A26%3A50Z&ske=2026-09-12T13%3A27%3A21Z&sks=b&skv=2018-11-09&sig=jwFYRVSOIeB%2BOTlTBmACH3Pr6yfMuGHLOs6PxhNU2Wc%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDM1NSwibmJmIjoxNzg5MjE2NzU1LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.GlJ7sItOrzVwQiw7P6kYhMBRYAMv0M0SQhJWTChfpFg&response-content-disposition=attachment%3B%20filename%3Dalignment_WFLW_4HG.pth&response-content-type=application%2Foctet-stream\n",
            "Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
            "Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 193670248 (185M) [application/octet-stream]\n",
            "Saving to: ‘./gfpgan/weights/alignment_WFLW_4HG.pth’\n",
            "\n",
            "./gfpgan/weights/al 100%[===================>] 184.70M  38.6MB/s    in 4.8s    \n",
            "\n",
            "2026-09-12 12:39:20 (38.6 MB/s) - ‘./gfpgan/weights/alignment_WFLW_4HG.pth’ saved [193670248/193670248]\n",
            "\n",
            "--2026-09-12 12:39:20--  https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth\n",
            "Resolving github.com (github.com)... 20.205.243.166\n",
            "Connecting to github.com (github.com)|20.205.243.166|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://release-assets.githubusercontent.com/github-production-release-asset/349361573/3ddec000-c7d2-11eb-9c28-fbfb8da09fb4?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A32%3A37Z&rscd=attachment%3B+filename%3Ddetection_Resnet50_Final.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A32%3A14Z&ske=2026-09-12T13%3A32%3A37Z&sks=b&skv=2018-11-09&sig=vsyROUMiLEAzHqcUTqq48pjD747Zz97Q4vEYdrOXYng%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDM2MSwibmJmIjoxNzg5MjE2NzYxLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.iY_VAxcmrKCMdH-pp76ehNf-0SuCGEc3L8law5lgSUc&response-content-disposition=attachment%3B%20filename%3Ddetection_Resnet50_Final.pth&response-content-type=application%2Foctet-stream [following]\n",
            "--2026-09-12 12:39:21--  https://release-assets.githubusercontent.com/github-production-release-asset/349361573/3ddec000-c7d2-11eb-9c28-fbfb8da09fb4?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A32%3A37Z&rscd=attachment%3B+filename%3Ddetection_Resnet50_Final.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A32%3A14Z&ske=2026-09-12T13%3A32%3A37Z&sks=b&skv=2018-11-09&sig=vsyROUMiLEAzHqcUTqq48pjD747Zz97Q4vEYdrOXYng%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDM2MSwibmJmIjoxNzg5MjE2NzYxLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.iY_VAxcmrKCMdH-pp76ehNf-0SuCGEc3L8law5lgSUc&response-content-disposition=attachment%3B%20filename%3Ddetection_Resnet50_Final.pth&response-content-type=application%2Foctet-stream\n",
            "Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
            "Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 109497761 (104M) [application/octet-stream]\n",
            "Saving to: ‘./gfpgan/weights/detection_Resnet50_Final.pth’\n",
            "\n",
            "./gfpgan/weights/de 100%[===================>] 104.42M   253MB/s    in 0.4s    \n",
            "\n",
            "2026-09-12 12:39:21 (253 MB/s) - ‘./gfpgan/weights/detection_Resnet50_Final.pth’ saved [109497761/109497761]\n",
            "\n",
            "--2026-09-12 12:39:21--  https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth\n",
            "Resolving github.com (github.com)... 20.205.243.166\n",
            "Connecting to github.com (github.com)|20.205.243.166|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://release-assets.githubusercontent.com/github-production-release-asset/349321229/07e156ef-347d-4100-b171-ab8d02146c9d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A22%3A24Z&rscd=attachment%3B+filename%3DGFPGANv1.4.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A22%3A10Z&ske=2026-09-12T13%3A22%3A24Z&sks=b&skv=2018-11-09&sig=sLgnupF1uNvg9czSRZGpwWqm31WnM0j0PVJZUc99bLU%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDM2MSwibmJmIjoxNzg5MjE2NzYxLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.iY_VAxcmrKCMdH-pp76ehNf-0SuCGEc3L8law5lgSUc&response-content-disposition=attachment%3B%20filename%3DGFPGANv1.4.pth&response-content-type=application%2Foctet-stream [following]\n",
            "--2026-09-12 12:39:22--  https://release-assets.githubusercontent.com/github-production-release-asset/349321229/07e156ef-347d-4100-b171-ab8d02146c9d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A22%3A24Z&rscd=attachment%3B+filename%3DGFPGANv1.4.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A22%3A10Z&ske=2026-09-12T13%3A22%3A24Z&sks=b&skv=2018-11-09&sig=sLgnupF1uNvg9czSRZGpwWqm31WnM0j0PVJZUc99bLU%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIyMDM2MSwibmJmIjoxNzg5MjE2NzYxLCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.iY_VAxcmrKCMdH-pp76ehNf-0SuCGEc3L8law5lgSUc&response-content-disposition=attachment%3B%20filename%3DGFPGANv1.4.pth&response-content-type=application%2Foctet-stream\n",
            "Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
            "Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 348632874 (332M) [application/octet-stream]\n",
            "Saving to: ‘./gfpgan/weights/GFPGANv1.4.pth’\n",
            "\n",
            "./gfpgan/weights/GF 100%[===================>] 332.48M  77.6MB/s    in 3.8s    \n",
            "\n",
            "2026-09-12 12:39:26 (87.2 MB/s) - ‘./gfpgan/weights/GFPGANv1.4.pth’ saved [348632874/348632874]\n",
            "\n",
            "--2026-09-12 12:39:26--  https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth\n",
            "Resolving github.com (github.com)... 20.205.243.166\n",
            "Connecting to github.com (github.com)|20.205.243.166|:443... connected.\n",
            "HTTP request sent, awaiting response... 302 Found\n",
            "Location: https://release-assets.githubusercontent.com/github-production-release-asset/349361573/92f7048d-a909-4e63-8b78-ea138db29987?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A23%3A00Z&rscd=attachment%3B+filename%3Dparsing_parsenet.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A22%3A06Z&ske=2026-09-12T13%3A23%3A00Z&sks=b&skv=2018-11-09&sig=oJNYNS52a1MDalnGXV9Mq%2FI2YiO4PjwpoxW5HamjQTA%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIxODU2NiwibmJmIjoxNzg5MjE2NzY2LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.6ZzkbQC3jZLK6HfI2tP77gv0ZcQ6WK0wKVGufRHDzBo&response-content-disposition=attachment%3B%20filename%3Dparsing_parsenet.pth&response-content-type=application%2Foctet-stream [following]\n",
            "--2026-09-12 12:39:26--  https://release-assets.githubusercontent.com/github-production-release-asset/349361573/92f7048d-a909-4e63-8b78-ea138db29987?sp=r&sv=2018-11-09&sr=b&spr=https&se=2026-09-12T13%3A23%3A00Z&rscd=attachment%3B+filename%3Dparsing_parsenet.pth&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2026-09-12T12%3A22%3A06Z&ske=2026-09-12T13%3A23%3A00Z&sks=b&skv=2018-11-09&sig=oJNYNS52a1MDalnGXV9Mq%2FI2YiO4PjwpoxW5HamjQTA%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4OTIxODU2NiwibmJmIjoxNzg5MjE2NzY2LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.6ZzkbQC3jZLK6HfI2tP77gv0ZcQ6WK0wKVGufRHDzBo&response-content-disposition=attachment%3B%20filename%3Dparsing_parsenet.pth&response-content-type=application%2Foctet-stream\n",
            "Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
            "Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.\n",
            "HTTP request sent, awaiting response... 200 OK\n",
            "Length: 85331193 (81M) [application/octet-stream]\n",
            "Saving to: ‘./gfpgan/weights/parsing_parsenet.pth’\n",
            "\n",
            "./gfpgan/weights/pa 100%[===================>]  81.38M   359MB/s    in 0.2s    \n",
            "\n",
            "2026-09-12 12:39:26 (359 MB/s) - ‘./gfpgan/weights/parsing_parsenet.pth’ saved [85331193/85331193]\n",
            "\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "%cd /content/SadTalker\n",
        "!python app_sadtalker.py --share\n"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "pzwUt_PsoZJP",
        "outputId": "9615f2e4-010d-4d6f-d74f-360bdc1f21a8"
      },
      "execution_count": 11,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "/content/SadTalker\n",
            "Traceback (most recent call last):\n",
            "  File \u001b[35m\"/content/SadTalker/app_sadtalker.py\"\u001b[0m, line \u001b[35m3\u001b[0m, in \u001b[35m<module>\u001b[0m\n",
            "    from src.gradio_demo import SadTalker\n",
            "  File \u001b[35m\"/content/SadTalker/src/gradio_demo.py\"\u001b[0m, line \u001b[35m3\u001b[0m, in \u001b[35m<module>\u001b[0m\n",
            "    from src.utils.preprocess import CropAndExtract\n",
            "  File \u001b[35m\"/content/SadTalker/src/utils/preprocess.py\"\u001b[0m, line \u001b[35m9\u001b[0m, in \u001b[35m<module>\u001b[0m\n",
            "    from src.face3d.util.preprocess import align_img\n",
            "  File \u001b[35m\"/content/SadTalker/src/face3d/util/preprocess.py\"\u001b[0m, line \u001b[35m12\u001b[0m, in \u001b[35m<module>\u001b[0m\n",
            "    warnings.filterwarnings(\"ignore\", category=\u001b[1;31mnp.VisibleDeprecationWarning\u001b[0m)\n",
            "                                               \u001b[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n",
            "  File \u001b[35m\"/usr/local/lib/python3.13/dist-packages/numpy/__init__.py\"\u001b[0m, line \u001b[35m414\u001b[0m, in \u001b[35m__getattr__\u001b[0m\n",
            "    raise AttributeError(\"module {!r} has no attribute \"\n",
            "                         \"{!r}\".format(__name__, attr))\n",
            "\u001b[1;35mAttributeError\u001b[0m: \u001b[35mmodule 'numpy' has no attribute 'VisibleDeprecationWarning'\u001b[0m\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "!pip install virtualenv\n",
        "!virtualenv sadtalk_env --clear"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "MU5IQ0SSoiao",
        "outputId": "ed986079-3515-422f-f6c1-400b25e99a33"
      },
      "execution_count": 14,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Collecting virtualenv\n",
            "  Downloading virtualenv-21.7.9-py3-none-any.whl.metadata (3.5 kB)\n",
            "Collecting distlib<1,>=0.3.7 (from virtualenv)\n",
            "  Downloading distlib-0.4.3-py2.py3-none-any.whl.metadata (5.3 kB)\n",
            "Requirement already satisfied: filelock<4,>=3.24.2 in /usr/local/lib/python3.13/dist-packages (from virtualenv) (3.32.5)\n",
            "Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.13/dist-packages (from virtualenv) (4.11.7)\n",
            "Collecting python-discovery>=1.6 (from virtualenv)\n",
            "  Downloading python_discovery-1.6.0-py3-none-any.whl.metadata (5.1 kB)\n",
            "Downloading virtualenv-21.7.9-py3-none-any.whl (5.3 MB)\n",
            "\u001b[?25l   \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/5.3 MB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K   \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m \u001b[32m5.3/5.3 MB\u001b[0m \u001b[31m194.5 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K   \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.3/5.3 MB\u001b[0m \u001b[31m110.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hDownloading distlib-0.4.3-py2.py3-none-any.whl (470 kB)\n",
            "\u001b[?25l   \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/470.6 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K   \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m470.6/470.6 kB\u001b[0m \u001b[31m40.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
            "\u001b[?25hDownloading python_discovery-1.6.0-py3-none-any.whl (38 kB)\n",
            "Installing collected packages: distlib, python-discovery, virtualenv\n",
            "Successfully installed distlib-0.4.3 python-discovery-1.6.0 virtualenv-21.7.9\n",
            "created virtual environment CPython3.13.15.final.0-64-x86_64 in 450ms\n",
            "  creator CPython3Posix(dest=/content/SadTalker/sadtalk_env, clear=True, no_vcs_ignore=False, global=False)\n",
            "  seeder FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/root/.cache/virtualenv)\n",
            "    added seed packages: pip==26.2.1\n",
            "  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator,XonshActivator\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "%%bash\n",
        "source sadtalk_env/bin/activate\n",
        "\n",
        "pip install numpy==1.23.5 torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 \\\n",
        "facexlib==0.3.0 gfpgan insightface onnxruntime moviepy \\\n",
        "opencv-python-headless imageio[ffmpeg] yacs kornia gtts \\\n",
        "safetensors pydub librosa"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "id": "lWTzzDVRpNUQ",
        "outputId": "dde63c14-8059-4a85-8400-424864ff3150"
      },
      "execution_count": 15,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Collecting numpy==1.23.5\n",
            "  Downloading numpy-1.23.5.tar.gz (10.7 MB)\n",
            "     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.7/10.7 MB 106.0 MB/s  0:00:00\n",
            "  Installing build dependencies: started\n",
            "  Installing build dependencies: finished with status 'done'\n",
            "  Getting requirements to build wheel: started\n",
            "  Getting requirements to build wheel: finished with status 'done'\n"
          ]
        },
        {
          "output_type": "stream",
          "name": "stderr",
          "text": [
            "ERROR: Exception:\n",
            "Traceback (most recent call last):\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/cli/base_command.py\", line 109, in _run_wrapper\n",
            "    status = _inner_run()\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/cli/base_command.py\", line 102, in _inner_run\n",
            "    return self.run(options, args)\n",
            "           ~~~~~~~~^^^^^^^^^^^^^^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/cli/req_command.py\", line 106, in wrapper\n",
            "    return func(self, options, args)\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/commands/install.py\", line 478, in run\n",
            "    requirement_set = resolver.resolve(\n",
            "        reqs, check_supported_wheels=not options.target_dir\n",
            "    )\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/resolver.py\", line 103, in resolve\n",
            "    result = self._result = resolver.resolve(\n",
            "                            ~~~~~~~~~~~~~~~~^\n",
            "        collected.requirements, max_rounds=limit_how_complex_resolution_can_be\n",
            "        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
            "    )\n",
            "    ^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py\", line 601, in resolve\n",
            "    state = resolution.resolve(requirements, max_rounds=max_rounds)\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py\", line 434, in resolve\n",
            "    self._add_to_criteria(self.state.criteria, r, parent=None)\n",
            "    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py\", line 150, in _add_to_criteria\n",
            "    if not criterion.candidates:\n",
            "           ^^^^^^^^^^^^^^^^^^^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_vendor/resolvelib/structs.py\", line 194, in __bool__\n",
            "    return bool(self._sequence)\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py\", line 165, in __bool__\n",
            "    self._bool = any(self)\n",
            "                 ~~~^^^^^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py\", line 149, in <genexpr>\n",
            "    return (c for c in iterator if id(c) not in self._incompatible_ids)\n",
            "                       ^^^^^^^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py\", line 39, in _iter_built\n",
            "    candidate = func()\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/factory.py\", line 181, in _make_candidate_from_link\n",
            "    base: BaseCandidate | None = self._make_base_candidate_from_link(\n",
            "                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n",
            "        link, template, name, version\n",
            "        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
            "    )\n",
            "    ^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/factory.py\", line 227, in _make_base_candidate_from_link\n",
            "    self._link_candidate_cache[link] = LinkCandidate(\n",
            "                                       ~~~~~~~~~~~~~^\n",
            "        link,\n",
            "        ^^^^^\n",
            "    ...<3 lines>...\n",
            "        version=version,\n",
            "        ^^^^^^^^^^^^^^^^\n",
            "    )\n",
            "    ^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/candidates.py\", line 325, in __init__\n",
            "    super().__init__(\n",
            "    ~~~~~~~~~~~~~~~~^\n",
            "        link=link,\n",
            "        ^^^^^^^^^^\n",
            "    ...<4 lines>...\n",
            "        version=version,\n",
            "        ^^^^^^^^^^^^^^^^\n",
            "    )\n",
            "    ^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/candidates.py\", line 167, in __init__\n",
            "    self.dist = self._prepare()\n",
            "                ~~~~~~~~~~~~~^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/candidates.py\", line 245, in _prepare\n",
            "    dist = self._prepare_distribution()\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/candidates.py\", line 336, in _prepare_distribution\n",
            "    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)\n",
            "           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/operations/prepare.py\", line 664, in prepare_linked_requirement\n",
            "    return self._prepare_linked_requirement(req, parallel_builds)\n",
            "           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/operations/prepare.py\", line 783, in _prepare_linked_requirement\n",
            "    dist = _get_prepared_distribution(\n",
            "        req,\n",
            "    ...<4 lines>...\n",
            "        self.allow_editables,\n",
            "    )\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/operations/prepare.py\", line 82, in _get_prepared_distribution\n",
            "    abstract_dist.prepare_distribution_metadata(\n",
            "    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n",
            "        build_env_installer, build_isolation, check_build_deps, allow_editables\n",
            "        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
            "    )\n",
            "    ^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/distributions/sdist.py\", line 63, in prepare_distribution_metadata\n",
            "    self._install_build_reqs(\n",
            "    ~~~~~~~~~~~~~~~~~~~~~~~~^\n",
            "        build_env_installer, build_isolation, allow_editables=allow_editables\n",
            "        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
            "    )\n",
            "    ^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/distributions/sdist.py\", line 159, in _install_build_reqs\n",
            "    build_reqs = self._get_build_requires_wheel()\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/distributions/sdist.py\", line 131, in _get_build_requires_wheel\n",
            "    return backend.get_requires_for_build_wheel()\n",
            "           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_internal/utils/misc.py\", line 734, in get_requires_for_build_wheel\n",
            "    return super().get_requires_for_build_wheel(config_settings=cs)\n",
            "           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_impl.py\", line 196, in get_requires_for_build_wheel\n",
            "    return self._call_hook(\n",
            "           ~~~~~~~~~~~~~~~^\n",
            "        \"get_requires_for_build_wheel\", {\"config_settings\": config_settings}\n",
            "        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",
            "    )\n",
            "    ^\n",
            "  File \"/content/SadTalker/sadtalk_env/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_impl.py\", line 402, in _call_hook\n",
            "    raise BackendUnavailable(\n",
            "    ...<4 lines>...\n",
            "    )\n",
            "pip._vendor.pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'\n"
          ]
        },
        {
          "output_type": "error",
          "ename": "CalledProcessError",
          "evalue": "Command 'b'source sadtalk_env/bin/activate\\n\\npip install numpy==1.23.5 torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 \\\\\\nfacexlib==0.3.0 gfpgan insightface onnxruntime moviepy \\\\\\nopencv-python-headless imageio[ffmpeg] yacs kornia gtts \\\\\\nsafetensors pydub librosa\\n'' returned non-zero exit status 2.",
          "traceback": [
            "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
            "\u001b[0;31mCalledProcessError\u001b[0m                        Traceback (most recent call last)",
            "\u001b[0;32m/tmp/ipykernel_888/1816957546.py\u001b[0m in \u001b[0;36m<cell line: 0>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_cell_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'bash'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m''\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'source sadtalk_env/bin/activate\\n\\npip install numpy==1.23.5 torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 \\\\\\nfacexlib==0.3.0 gfpgan insightface onnxruntime moviepy \\\\\\nopencv-python-headless imageio[ffmpeg] yacs kornia gtts \\\\\\nsafetensors pydub librosa\\n'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/google/colab/_shell.py\u001b[0m in \u001b[0;36mrun_cell_magic\u001b[0;34m(self, magic_name, line, cell)\u001b[0m\n\u001b[1;32m    221\u001b[0m     \u001b[0;32mif\u001b[0m \u001b[0mline\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    222\u001b[0m       \u001b[0mcell\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m' '\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 223\u001b[0;31m     \u001b[0;32mreturn\u001b[0m \u001b[0msuper\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_cell_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmagic_name\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    224\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    225\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/interactiveshell.py\u001b[0m in \u001b[0;36mrun_cell_magic\u001b[0;34m(self, magic_name, line, cell)\u001b[0m\n\u001b[1;32m   2471\u001b[0m             \u001b[0;32mwith\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbuiltin_trap\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   2472\u001b[0m                 \u001b[0margs\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mmagic_arg_s\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 2473\u001b[0;31m                 \u001b[0mresult\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mfn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m   2474\u001b[0m             \u001b[0;32mreturn\u001b[0m \u001b[0mresult\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   2475\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magics/script.py\u001b[0m in \u001b[0;36mnamed_script_magic\u001b[0;34m(line, cell)\u001b[0m\n\u001b[1;32m    140\u001b[0m             \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    141\u001b[0m                 \u001b[0mline\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mscript\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 142\u001b[0;31m             \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshebang\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    143\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    144\u001b[0m         \u001b[0;31m# write a basic docstring:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m<decorator-gen-103>\u001b[0m in \u001b[0;36mshebang\u001b[0;34m(self, line, cell)\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magic.py\u001b[0m in \u001b[0;36m<lambda>\u001b[0;34m(f, *a, **k)\u001b[0m\n\u001b[1;32m    185\u001b[0m     \u001b[0;31m# but it's overkill for just that one bit of state.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    186\u001b[0m     \u001b[0;32mdef\u001b[0m \u001b[0mmagic_deco\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 187\u001b[0;31m         \u001b[0mcall\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;32mlambda\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0ma\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mk\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0ma\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mk\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    188\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    189\u001b[0m         \u001b[0;32mif\u001b[0m \u001b[0mcallable\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magics/script.py\u001b[0m in \u001b[0;36mshebang\u001b[0;34m(self, line, cell)\u001b[0m\n\u001b[1;32m    243\u001b[0m             \u001b[0msys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mstderr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mflush\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    244\u001b[0m         \u001b[0;32mif\u001b[0m \u001b[0margs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mraise_error\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreturncode\u001b[0m\u001b[0;34m!=\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 245\u001b[0;31m             \u001b[0;32mraise\u001b[0m \u001b[0mCalledProcessError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreturncode\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0moutput\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mout\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mstderr\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0merr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    246\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    247\u001b[0m     \u001b[0;32mdef\u001b[0m \u001b[0m_run_script\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mp\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mto_close\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;31mCalledProcessError\u001b[0m: Command 'b'source sadtalk_env/bin/activate\\n\\npip install numpy==1.23.5 torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 \\\\\\nfacexlib==0.3.0 gfpgan insightface onnxruntime moviepy \\\\\\nopencv-python-headless imageio[ffmpeg] yacs kornia gtts \\\\\\nsafetensors pydub librosa\\n'' returned non-zero exit status 2."
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "%%bash\n",
        "# 1. Download and install Miniconda quietly inside Colab\n",
        "wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\n",
        "bash Miniconda3-latest-Linux-x86_64.sh -b -p /content/miniconda3\n",
        "rm Miniconda3-latest-Linux-x86_64.sh\n",
        "\n",
        "# 2. Activate the base conda environment and create a Python 3.8 environment\n",
        "source /content/miniconda3/bin/activate\n",
        "conda create -n sadtalker python=3.8 -y\n",
        "\n",
        "# 3. Activate the new environment\n",
        "source /content/miniconda3/bin/activate sadtalker\n",
        "\n",
        "# 4. Install the exact requirements\n",
        "pip install numpy==1.23.5 torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 \\\n",
        "facexlib==0.3.0 gfpgan insightface onnxruntime moviepy \\\n",
        "opencv-python-headless imageio[ffmpeg] yacs kornia gtts \\\n",
        "safetensors pydub librosa"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "id": "nqVAVRoxp6nh",
        "outputId": "eec0d316-23fa-4c1a-8934-18b55f3d0586"
      },
      "execution_count": 16,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "PREFIX=/content/miniconda3\n",
            "Unpacking bootstrapper...\n",
            "Unpacking payload...\n",
            "\n",
            "Installing base environment...\n",
            "\n",
            "Preparing transaction: ...working... done\n",
            "Executing transaction: ...working... done\n",
            "installation finished.\n",
            "WARNING:\n",
            "    You currently have a PYTHONPATH environment variable set. This may cause\n",
            "    unexpected behavior when running the Python interpreter in Miniconda3.\n",
            "    For best results, please verify that your PYTHONPATH only points to\n",
            "    directories of packages that are compatible with the Python interpreter\n",
            "    in Miniconda3: /content/miniconda3\n",
            "Jupyter detected...\n",
            "Collecting numpy==1.23.5\n",
            "  Using cached numpy-1.23.5.tar.gz (10.7 MB)\n",
            "  Installing build dependencies: started\n",
            "  Installing build dependencies: finished with status 'done'\n",
            "  Getting requirements to build wheel: started\n",
            "  Getting requirements to build wheel: finished with status 'error'\n"
          ]
        },
        {
          "output_type": "stream",
          "name": "stderr",
          "text": [
            "\n",
            "CondaToSNonInteractiveError: Terms of Service have not been accepted for the following channels. Please accept or remove them before proceeding:\n",
            "    - https://repo.anaconda.com/pkgs/main\n",
            "    - https://repo.anaconda.com/pkgs/r\n",
            "\n",
            "To accept these channels' Terms of Service, run the following commands:\n",
            "    conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main\n",
            "    conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r\n",
            "\n",
            "For information on safely removing channels from your conda configuration,\n",
            "please see the official documentation:\n",
            "\n",
            "    https://www.anaconda.com/docs/tools/working-with-conda/channels\n",
            "\n",
            "\n",
            "EnvironmentNameNotFound: Could not find conda environment: sadtalker\n",
            "You can list all discoverable environments with `conda info --envs`.\n",
            "\n",
            "\n",
            "  error: subprocess-exited-with-error\n",
            "  \n",
            "  × Getting requirements to build wheel did not run successfully.\n",
            "  │ exit code: 1\n",
            "  ╰─> No available output.\n",
            "  \n",
            "  note: This error originates from a subprocess, and is likely not a problem with pip.\n",
            "ERROR: Failed to build 'numpy' when getting requirements to build wheel\n"
          ]
        },
        {
          "output_type": "error",
          "ename": "CalledProcessError",
          "evalue": "Command 'b'# 1. Download and install Miniconda quietly inside Colab\\nwget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\\nbash Miniconda3-latest-Linux-x86_64.sh -b -p /content/miniconda3\\nrm Miniconda3-latest-Linux-x86_64.sh\\n\\n# 2. Activate the base conda environment and create a Python 3.8 environment\\nsource /content/miniconda3/bin/activate\\nconda create -n sadtalker python=3.8 -y\\n\\n# 3. Activate the new environment\\nsource /content/miniconda3/bin/activate sadtalker\\n\\n# 4. Install the exact requirements \\npip install numpy==1.23.5 torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 \\\\\\nfacexlib==0.3.0 gfpgan insightface onnxruntime moviepy \\\\\\nopencv-python-headless imageio[ffmpeg] yacs kornia gtts \\\\\\nsafetensors pydub librosa\\n'' returned non-zero exit status 1.",
          "traceback": [
            "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
            "\u001b[0;31mCalledProcessError\u001b[0m                        Traceback (most recent call last)",
            "\u001b[0;32m/tmp/ipykernel_888/1666524575.py\u001b[0m in \u001b[0;36m<cell line: 0>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_cell_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'bash'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m''\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'# 1. Download and install Miniconda quietly inside Colab\\nwget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\\nbash Miniconda3-latest-Linux-x86_64.sh -b -p /content/miniconda3\\nrm Miniconda3-latest-Linux-x86_64.sh\\n\\n# 2. Activate the base conda environment and create a Python 3.8 environment\\nsource /content/miniconda3/bin/activate\\nconda create -n sadtalker python=3.8 -y\\n\\n# 3. Activate the new environment\\nsource /content/miniconda3/bin/activate sadtalker\\n\\n# 4. Install the exact requirements \\npip install numpy==1.23.5 torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 \\\\\\nfacexlib==0.3.0 gfpgan insightface onnxruntime moviepy \\\\\\nopencv-python-headless imageio[ffmpeg] yacs kornia gtts \\\\\\nsafetensors pydub librosa\\n'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/google/colab/_shell.py\u001b[0m in \u001b[0;36mrun_cell_magic\u001b[0;34m(self, magic_name, line, cell)\u001b[0m\n\u001b[1;32m    221\u001b[0m     \u001b[0;32mif\u001b[0m \u001b[0mline\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    222\u001b[0m       \u001b[0mcell\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m' '\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 223\u001b[0;31m     \u001b[0;32mreturn\u001b[0m \u001b[0msuper\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_cell_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmagic_name\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    224\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    225\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/interactiveshell.py\u001b[0m in \u001b[0;36mrun_cell_magic\u001b[0;34m(self, magic_name, line, cell)\u001b[0m\n\u001b[1;32m   2471\u001b[0m             \u001b[0;32mwith\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbuiltin_trap\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   2472\u001b[0m                 \u001b[0margs\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mmagic_arg_s\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 2473\u001b[0;31m                 \u001b[0mresult\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mfn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m   2474\u001b[0m             \u001b[0;32mreturn\u001b[0m \u001b[0mresult\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   2475\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magics/script.py\u001b[0m in \u001b[0;36mnamed_script_magic\u001b[0;34m(line, cell)\u001b[0m\n\u001b[1;32m    140\u001b[0m             \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    141\u001b[0m                 \u001b[0mline\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mscript\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 142\u001b[0;31m             \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshebang\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    143\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    144\u001b[0m         \u001b[0;31m# write a basic docstring:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m<decorator-gen-103>\u001b[0m in \u001b[0;36mshebang\u001b[0;34m(self, line, cell)\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magic.py\u001b[0m in \u001b[0;36m<lambda>\u001b[0;34m(f, *a, **k)\u001b[0m\n\u001b[1;32m    185\u001b[0m     \u001b[0;31m# but it's overkill for just that one bit of state.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    186\u001b[0m     \u001b[0;32mdef\u001b[0m \u001b[0mmagic_deco\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 187\u001b[0;31m         \u001b[0mcall\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;32mlambda\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0ma\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mk\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0ma\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mk\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    188\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    189\u001b[0m         \u001b[0;32mif\u001b[0m \u001b[0mcallable\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magics/script.py\u001b[0m in \u001b[0;36mshebang\u001b[0;34m(self, line, cell)\u001b[0m\n\u001b[1;32m    243\u001b[0m             \u001b[0msys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mstderr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mflush\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    244\u001b[0m         \u001b[0;32mif\u001b[0m \u001b[0margs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mraise_error\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreturncode\u001b[0m\u001b[0;34m!=\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 245\u001b[0;31m             \u001b[0;32mraise\u001b[0m \u001b[0mCalledProcessError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreturncode\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0moutput\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mout\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mstderr\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0merr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    246\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    247\u001b[0m     \u001b[0;32mdef\u001b[0m \u001b[0m_run_script\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mp\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mto_close\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;31mCalledProcessError\u001b[0m: Command 'b'# 1. Download and install Miniconda quietly inside Colab\\nwget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\\nbash Miniconda3-latest-Linux-x86_64.sh -b -p /content/miniconda3\\nrm Miniconda3-latest-Linux-x86_64.sh\\n\\n# 2. Activate the base conda environment and create a Python 3.8 environment\\nsource /content/miniconda3/bin/activate\\nconda create -n sadtalker python=3.8 -y\\n\\n# 3. Activate the new environment\\nsource /content/miniconda3/bin/activate sadtalker\\n\\n# 4. Install the exact requirements \\npip install numpy==1.23.5 torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 \\\\\\nfacexlib==0.3.0 gfpgan insightface onnxruntime moviepy \\\\\\nopencv-python-headless imageio[ffmpeg] yacs kornia gtts \\\\\\nsafetensors pydub librosa\\n'' returned non-zero exit status 1."
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "%%bash\n",
        "# Automatically accept Conda's Terms of Service for non-interactive Colab environments\n",
        "export CONDA_PLUGINS_AUTO_ACCEPT_TOS=true\n",
        "\n",
        "# 1. Download and install Miniconda quietly inside Colab\n",
        "wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\n",
        "bash Miniconda3-latest-Linux-x86_64.sh -b -p /content/miniconda3\n",
        "rm Miniconda3-latest-Linux-x86_64.sh\n",
        "\n",
        "# 2. Activate the base conda environment and create a Python 3.8 environment\n",
        "source /content/miniconda3/bin/activate\n",
        "conda create -n sadtalker python=3.8 -y\n",
        "\n",
        "# 3. Activate the new environment\n",
        "source /content/miniconda3/bin/activate sadtalker\n",
        "\n",
        "# 4. Install the exact requirements\n",
        "pip install numpy==1.23.5 torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 \\\n",
        "facexlib==0.3.0 gfpgan insightface onnxruntime moviepy \\\n",
        "opencv-python-headless imageio[ffmpeg] yacs kornia gtts \\\n",
        "safetensors pydub librosa"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "C89hUoUGqjth",
        "outputId": "2dfec457-47a5-48d9-a0e6-616ad4fd3c52"
      },
      "execution_count": 17,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "Jupyter detected...\n",
            "By accessing https://repo.anaconda.com/pkgs/main with auto acceptance enabled \n",
            "(auto_accept_tos=True) for this repository you acknowledge and agree to the \n",
            "Terms of Service:\n",
            "ANACONDA TERMS OF SERVICE\n",
            "Effective Date: July 15, 2025\n",
            "\n",
            "See https://anaconda.com/legal/terms/terms-of-service\n",
            "By accessing https://repo.anaconda.com/pkgs/r with auto acceptance enabled \n",
            "(auto_accept_tos=True) for this repository you acknowledge and agree to the \n",
            "Terms of Service:\n",
            "ANACONDA TERMS OF SERVICE\n",
            "Effective Date: July 15, 2025\n",
            "\n",
            "See https://anaconda.com/legal/terms/terms-of-service\n",
            "2 channel Terms of Service accepted\n",
            "Retrieving notices: ...working... done\n",
            "Channels:\n",
            " - defaults\n",
            "Platform: linux-64\n",
            "Collecting package metadata (repodata.json): ...working... done\n",
            "Solving environment: ...working... done\n",
            "\n",
            "## Package Plan ##\n",
            "\n",
            "  environment location: /content/miniconda3/envs/sadtalker\n",
            "\n",
            "  added / updated specs:\n",
            "    - python=3.8\n",
            "\n",
            "\n",
            "The following packages will be downloaded:\n",
            "\n",
            "    package                    |            build\n",
            "    ---------------------------|-----------------\n",
            "    openssl-3.5.8              |       h1b28b03_0         5.5 MB\n",
            "    pip-24.2                   |   py38h06a4308_0         2.2 MB\n",
            "    python-3.8.20              |       he870216_0        23.8 MB\n",
            "    setuptools-75.1.0          |   py38h06a4308_0         1.7 MB\n",
            "    sqlite-3.53.4              |       h795bf6d_0         1.2 MB\n",
            "    tk-8.6.15                  |       h54e0aa7_0         3.4 MB\n",
            "    wheel-0.44.0               |   py38h06a4308_0         108 KB\n",
            "    ------------------------------------------------------------\n",
            "                                           Total:        37.9 MB\n",
            "\n",
            "The following NEW packages will be INSTALLED:\n",
            "\n",
            "  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main \n",
            "  _openmp_mutex      pkgs/main/linux-64::_openmp_mutex-5.1-52_gnu \n",
            "  ca-certificates    pkgs/main/linux-64::ca-certificates-2026.8.13-h06a4308_0 \n",
            "  ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.44-h9e0c5a2_3 \n",
            "  libffi             pkgs/main/linux-64::libffi-3.4.8-h06d3fd0_3 \n",
            "  libgcc             pkgs/main/linux-64::libgcc-15.2.0-h69a1729_8 \n",
            "  libgcc-ng          pkgs/main/linux-64::libgcc-ng-15.2.0-h166f726_8 \n",
            "  libstdcxx          pkgs/main/linux-64::libstdcxx-15.2.0-h39759b7_8 \n",
            "  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-15.2.0-hc03a8fd_8 \n",
            "  libxcb             pkgs/main/linux-64::libxcb-1.17.0-h9b100fa_0 \n",
            "  libzlib            pkgs/main/linux-64::libzlib-1.3.2-h47b2149_0 \n",
            "  ncurses            pkgs/main/linux-64::ncurses-6.6-hfaaeb4e_0 \n",
            "  openssl            pkgs/main/linux-64::openssl-3.5.8-h1b28b03_0 \n",
            "  pip                pkgs/main/linux-64::pip-24.2-py38h06a4308_0 \n",
            "  pthread-stubs      pkgs/main/linux-64::pthread-stubs-0.3-h47b2149_2 \n",
            "  python             pkgs/main/linux-64::python-3.8.20-he870216_0 \n",
            "  readline           pkgs/main/linux-64::readline-8.3-hc2a1206_0 \n",
            "  setuptools         pkgs/main/linux-64::setuptools-75.1.0-py38h06a4308_0 \n",
            "  sqlite             pkgs/main/linux-64::sqlite-3.53.4-h795bf6d_0 \n",
            "  tk                 pkgs/main/linux-64::tk-8.6.15-h54e0aa7_0 \n",
            "  wheel              pkgs/main/linux-64::wheel-0.44.0-py38h06a4308_0 \n",
            "  xorg-libx11        pkgs/main/linux-64::xorg-libx11-1.8.13-h65de747_0 \n",
            "  xorg-libxau        pkgs/main/linux-64::xorg-libxau-1.0.12-h9b100fa_0 \n",
            "  xorg-libxdmcp      pkgs/main/linux-64::xorg-libxdmcp-1.1.5-h9b100fa_0 \n",
            "  xorg-xorgproto     pkgs/main/linux-64::xorg-xorgproto-2025.1-h47b2149_0 \n",
            "  xz                 pkgs/main/linux-64::xz-5.8.2-h448239c_0 \n",
            "  zlib               pkgs/main/linux-64::zlib-1.3.2-h47b2149_0 \n",
            "\n",
            "\n",
            "\n",
            "Downloading and Extracting Packages: ...working... done\n",
            "Preparing transaction: ...working... done\n",
            "Verifying transaction: ...working... done\n",
            "Executing transaction: ...working... done\n",
            "#\n",
            "# To activate this environment, use\n",
            "#\n",
            "#     $ conda activate sadtalker\n",
            "#\n",
            "# To deactivate an active environment, use\n",
            "#\n",
            "#     $ conda deactivate\n",
            "\n",
            "\n",
            "Channel \"defaults\" has the following notices:\n",
            "  [info] -- Thu Aug  6 00:00:00 2026\n",
            "  main-x (Anaconda's new authenticated channel) is now generally available, with thousands of additional packages from our secure supply chain. Get started at: https://anaconda.com/docs/getting-started/main-x?utm_source=channel_notices\n",
            "\n",
            "Collecting numpy==1.23.5\n",
            "  Downloading numpy-1.23.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.3 kB)\n",
            "Collecting torch==2.0.1\n",
            "  Downloading torch-2.0.1-cp38-cp38-manylinux1_x86_64.whl.metadata (24 kB)\n",
            "Collecting torchvision==0.15.2\n",
            "  Downloading torchvision-0.15.2-cp38-cp38-manylinux1_x86_64.whl.metadata (11 kB)\n",
            "Collecting torchaudio==2.0.2\n",
            "  Downloading torchaudio-2.0.2-cp38-cp38-manylinux1_x86_64.whl.metadata (1.2 kB)\n",
            "Collecting facexlib==0.3.0\n",
            "  Downloading facexlib-0.3.0-py3-none-any.whl.metadata (4.6 kB)\n",
            "Collecting gfpgan\n",
            "  Downloading gfpgan-1.3.8-py3-none-any.whl.metadata (12 kB)\n",
            "Collecting insightface\n",
            "  Downloading insightface-1.0.1-py3-none-any.whl.metadata (11 kB)\n",
            "Collecting onnxruntime\n",
            "  Downloading onnxruntime-1.19.2-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (4.5 kB)\n",
            "Collecting moviepy\n",
            "  Downloading moviepy-2.2.1-py3-none-any.whl.metadata (6.9 kB)\n",
            "Collecting opencv-python-headless\n",
            "  Downloading opencv_python_headless-5.0.0.93-cp37-abi3-manylinux_2_28_x86_64.whl.metadata (19 kB)\n",
            "Collecting yacs\n",
            "  Downloading yacs-0.1.8-py3-none-any.whl.metadata (639 bytes)\n",
            "Collecting kornia\n",
            "  Downloading kornia-0.7.3-py2.py3-none-any.whl.metadata (7.7 kB)\n",
            "Collecting gtts\n",
            "  Downloading gTTS-2.5.4-py3-none-any.whl.metadata (4.1 kB)\n",
            "Collecting safetensors\n",
            "  Downloading safetensors-0.5.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB)\n",
            "Collecting pydub\n",
            "  Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)\n",
            "Collecting librosa\n",
            "  Downloading librosa-0.11.0-py3-none-any.whl.metadata (8.7 kB)\n",
            "Collecting imageio[ffmpeg]\n",
            "  Downloading imageio-2.35.1-py3-none-any.whl.metadata (4.9 kB)\n",
            "Collecting filelock (from torch==2.0.1)\n",
            "  Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)\n",
            "Collecting typing-extensions (from torch==2.0.1)\n",
            "  Downloading typing_extensions-4.13.2-py3-none-any.whl.metadata (3.0 kB)\n",
            "Collecting sympy (from torch==2.0.1)\n",
            "  Downloading sympy-1.13.3-py3-none-any.whl.metadata (12 kB)\n",
            "Collecting networkx (from torch==2.0.1)\n",
            "  Downloading networkx-3.1-py3-none-any.whl.metadata (5.3 kB)\n",
            "Collecting jinja2 (from torch==2.0.1)\n",
            "  Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)\n",
            "Collecting nvidia-cuda-nvrtc-cu11==11.7.99 (from torch==2.0.1)\n",
            "  Downloading nvidia_cuda_nvrtc_cu11-11.7.99-2-py3-none-manylinux1_x86_64.whl.metadata (1.5 kB)\n",
            "Collecting nvidia-cuda-runtime-cu11==11.7.99 (from torch==2.0.1)\n",
            "  Downloading nvidia_cuda_runtime_cu11-11.7.99-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n",
            "Collecting nvidia-cuda-cupti-cu11==11.7.101 (from torch==2.0.1)\n",
            "  Downloading nvidia_cuda_cupti_cu11-11.7.101-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n",
            "Collecting nvidia-cudnn-cu11==8.5.0.96 (from torch==2.0.1)\n",
            "  Downloading nvidia_cudnn_cu11-8.5.0.96-2-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n",
            "Collecting nvidia-cublas-cu11==11.10.3.66 (from torch==2.0.1)\n",
            "  Downloading nvidia_cublas_cu11-11.10.3.66-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n",
            "Collecting nvidia-cufft-cu11==10.9.0.58 (from torch==2.0.1)\n",
            "  Downloading nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux2014_x86_64.whl.metadata (1.5 kB)\n",
            "Collecting nvidia-curand-cu11==10.2.10.91 (from torch==2.0.1)\n",
            "  Downloading nvidia_curand_cu11-10.2.10.91-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n",
            "Collecting nvidia-cusolver-cu11==11.4.0.1 (from torch==2.0.1)\n",
            "  Downloading nvidia_cusolver_cu11-11.4.0.1-2-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n",
            "Collecting nvidia-cusparse-cu11==11.7.4.91 (from torch==2.0.1)\n",
            "  Downloading nvidia_cusparse_cu11-11.7.4.91-py3-none-manylinux1_x86_64.whl.metadata (1.6 kB)\n",
            "Collecting nvidia-nccl-cu11==2.14.3 (from torch==2.0.1)\n",
            "  Downloading nvidia_nccl_cu11-2.14.3-py3-none-manylinux1_x86_64.whl.metadata (1.8 kB)\n",
            "Collecting nvidia-nvtx-cu11==11.7.91 (from torch==2.0.1)\n",
            "  Downloading nvidia_nvtx_cu11-11.7.91-py3-none-manylinux1_x86_64.whl.metadata (1.7 kB)\n",
            "Collecting triton==2.0.0 (from torch==2.0.1)\n",
            "  Downloading triton-2.0.0-1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.0 kB)\n",
            "Collecting requests (from torchvision==0.15.2)\n",
            "  Downloading requests-2.32.4-py3-none-any.whl.metadata (4.9 kB)\n",
            "Collecting pillow!=8.3.*,>=5.3.0 (from torchvision==0.15.2)\n",
            "  Downloading pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl.metadata (9.2 kB)\n",
            "Collecting filterpy (from facexlib==0.3.0)\n",
            "  Downloading filterpy-1.4.5.zip (177 kB)\n",
            "  Preparing metadata (setup.py): started\n",
            "  Preparing metadata (setup.py): finished with status 'done'\n",
            "Collecting numba (from facexlib==0.3.0)\n",
            "  Downloading numba-0.58.1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.7 kB)\n",
            "Collecting opencv-python (from facexlib==0.3.0)\n",
            "  Downloading opencv_python-5.0.0.93-cp37-abi3-manylinux_2_28_x86_64.whl.metadata (19 kB)\n",
            "Collecting scipy (from facexlib==0.3.0)\n",
            "  Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)\n",
            "Collecting tqdm (from facexlib==0.3.0)\n",
            "  Downloading tqdm-4.70.1-py3-none-any.whl.metadata (57 kB)\n",
            "Requirement already satisfied: setuptools in /content/miniconda3/envs/sadtalker/lib/python3.8/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch==2.0.1) (75.1.0)\n",
            "Requirement already satisfied: wheel in /content/miniconda3/envs/sadtalker/lib/python3.8/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch==2.0.1) (0.44.0)\n",
            "Collecting cmake (from triton==2.0.0->torch==2.0.1)\n",
            "  Downloading cmake-4.4.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (7.0 kB)\n",
            "Collecting lit (from triton==2.0.0->torch==2.0.1)\n",
            "  Downloading lit-23.1.1-py3-none-any.whl.metadata (2.7 kB)\n",
            "Collecting basicsr>=1.4.2 (from gfpgan)\n",
            "  Downloading basicsr-1.4.2.tar.gz (172 kB)\n",
            "  Preparing metadata (setup.py): started\n",
            "  Preparing metadata (setup.py): finished with status 'done'\n",
            "Collecting lmdb (from gfpgan)\n",
            "  Downloading lmdb-2.1.1.tar.gz (913 kB)\n",
            "     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 913.2/913.2 kB 53.6 MB/s eta 0:00:00\n",
            "  Installing build dependencies: started\n",
            "  Installing build dependencies: finished with status 'done'\n",
            "  Getting requirements to build wheel: started\n",
            "  Getting requirements to build wheel: finished with status 'done'\n",
            "  Preparing metadata (pyproject.toml): started\n",
            "  Preparing metadata (pyproject.toml): finished with status 'done'\n",
            "Collecting pyyaml (from gfpgan)\n",
            "  Downloading PyYAML-6.0.3-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.1 kB)\n",
            "Collecting tb-nightly (from gfpgan)\n",
            "  Downloading tb_nightly-2.14.0a20230808-py3-none-any.whl.metadata (1.8 kB)\n",
            "Collecting yapf (from gfpgan)\n",
            "  Downloading yapf-0.43.0-py3-none-any.whl.metadata (46 kB)\n",
            "Collecting onnx (from insightface)\n",
            "  Downloading onnx-1.17.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (16 kB)\n",
            "Collecting scikit-image (from insightface)\n",
            "  Downloading scikit_image-0.21.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (14 kB)\n",
            "Collecting coloredlogs (from onnxruntime)\n",
            "  Downloading coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)\n",
            "Collecting flatbuffers (from onnxruntime)\n",
            "  Downloading flatbuffers-25.12.19-py2.py3-none-any.whl.metadata (1.0 kB)\n",
            "Collecting packaging (from onnxruntime)\n",
            "  Downloading packaging-26.2-py3-none-any.whl.metadata (3.5 kB)\n",
            "Collecting protobuf (from onnxruntime)\n",
            "  Downloading protobuf-5.29.6-cp38-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)\n",
            "Collecting decorator<6.0,>=4.0.2 (from moviepy)\n",
            "  Downloading decorator-5.3.1-py3-none-any.whl.metadata (3.9 kB)\n",
            "Collecting imageio_ffmpeg>=0.2.0 (from moviepy)\n",
            "  Downloading imageio_ffmpeg-0.5.1-py3-none-manylinux2010_x86_64.whl.metadata (1.6 kB)\n",
            "INFO: pip is looking at multiple versions of moviepy to determine which version is compatible with other requirements. This could take a while.\n",
            "Collecting moviepy\n",
            "  Downloading moviepy-2.2.0-py3-none-any.whl.metadata (6.9 kB)\n",
            "  Downloading moviepy-2.1.2-py3-none-any.whl.metadata (6.9 kB)\n",
            "  Downloading moviepy-2.1.1-py3-none-any.whl.metadata (6.9 kB)\n",
            "  Downloading moviepy-2.1.0-py3-none-any.whl.metadata (6.9 kB)\n",
            "  Downloading moviepy-2.0.0-py3-none-any.whl.metadata (6.4 kB)\n",
            "  Downloading moviepy-1.0.3.tar.gz (388 kB)\n",
            "  Preparing metadata (setup.py): started\n",
            "  Preparing metadata (setup.py): finished with status 'done'\n",
            "Collecting decorator<5.0,>=4.0.2 (from moviepy)\n",
            "  Downloading decorator-4.4.2-py2.py3-none-any.whl.metadata (4.2 kB)\n",
            "Collecting proglog<=1.0.0 (from moviepy)\n",
            "  Downloading proglog-0.1.12-py3-none-any.whl.metadata (794 bytes)\n",
            "Collecting psutil (from imageio[ffmpeg])\n",
            "  Downloading psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl.metadata (22 kB)\n",
            "Collecting kornia-rs>=0.1.0 (from kornia)\n",
            "  Downloading kornia_rs-0.1.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (15 kB)\n",
            "Collecting click<8.2,>=7.1 (from gtts)\n",
            "  Downloading click-8.1.8-py3-none-any.whl.metadata (2.3 kB)\n",
            "Collecting audioread>=2.1.9 (from librosa)\n",
            "  Downloading audioread-3.0.1-py3-none-any.whl.metadata (8.4 kB)\n",
            "Collecting scikit-learn>=1.1.0 (from librosa)\n",
            "  Downloading scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)\n",
            "Collecting joblib>=1.0 (from librosa)\n",
            "  Downloading joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB)\n",
            "Collecting soundfile>=0.12.1 (from librosa)\n",
            "  Downloading soundfile-0.13.1-py2.py3-none-manylinux_2_28_x86_64.whl.metadata (16 kB)\n",
            "Collecting pooch>=1.1 (from librosa)\n",
            "  Downloading pooch-1.8.2-py3-none-any.whl.metadata (10 kB)\n",
            "Collecting soxr>=0.3.2 (from librosa)\n",
            "  Downloading soxr-0.3.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.5 kB)\n",
            "Collecting lazy_loader>=0.1 (from librosa)\n",
            "  Downloading lazy_loader-0.4-py3-none-any.whl.metadata (7.6 kB)\n",
            "Collecting msgpack>=1.0 (from librosa)\n",
            "  Downloading msgpack-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.3 kB)\n",
            "Collecting addict (from basicsr>=1.4.2->gfpgan)\n",
            "  Downloading addict-2.4.0-py3-none-any.whl.metadata (1.0 kB)\n",
            "Collecting future (from basicsr>=1.4.2->gfpgan)\n",
            "  Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)\n",
            "Collecting llvmlite<0.42,>=0.41.0dev0 (from numba->facexlib==0.3.0)\n",
            "  Downloading llvmlite-0.41.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.8 kB)\n",
            "Collecting importlib-metadata (from numba->facexlib==0.3.0)\n",
            "  Downloading importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)\n",
            "Collecting platformdirs>=2.5.0 (from pooch>=1.1->librosa)\n",
            "  Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)\n",
            "Collecting charset_normalizer<4,>=2 (from requests->torchvision==0.15.2)\n",
            "  Downloading charset_normalizer-3.5.1-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.metadata (45 kB)\n",
            "Collecting idna<4,>=2.5 (from requests->torchvision==0.15.2)\n",
            "  Downloading idna-3.15-py3-none-any.whl.metadata (7.7 kB)\n",
            "Collecting urllib3<3,>=1.21.1 (from requests->torchvision==0.15.2)\n",
            "  Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)\n",
            "Collecting certifi>=2017.4.17 (from requests->torchvision==0.15.2)\n",
            "  Downloading certifi-2026.7.22-py3-none-any.whl.metadata (2.5 kB)\n",
            "Collecting threadpoolctl>=2.0.0 (from scikit-learn>=1.1.0->librosa)\n",
            "  Downloading threadpoolctl-3.5.0-py3-none-any.whl.metadata (13 kB)\n",
            "Collecting cffi>=1.0 (from soundfile>=0.12.1->librosa)\n",
            "  Using cached cffi-1.17.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)\n",
            "Collecting humanfriendly>=9.1 (from coloredlogs->onnxruntime)\n",
            "  Downloading humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)\n",
            "Collecting matplotlib (from filterpy->facexlib==0.3.0)\n",
            "  Downloading matplotlib-3.7.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (5.7 kB)\n",
            "Collecting MarkupSafe>=2.0 (from jinja2->torch==2.0.1)\n",
            "  Using cached MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)\n",
            "Collecting tifffile>=2022.8.12 (from scikit-image->insightface)\n",
            "  Downloading tifffile-2023.7.10-py3-none-any.whl.metadata (31 kB)\n",
            "Collecting PyWavelets>=1.1.1 (from scikit-image->insightface)\n",
            "  Downloading PyWavelets-1.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.9 kB)\n",
            "Collecting mpmath<1.4,>=1.1.0 (from sympy->torch==2.0.1)\n",
            "  Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)\n",
            "Collecting absl-py>=0.4 (from tb-nightly->gfpgan)\n",
            "  Downloading absl_py-2.3.1-py3-none-any.whl.metadata (3.3 kB)\n",
            "Collecting grpcio>=1.48.2 (from tb-nightly->gfpgan)\n",
            "  Downloading grpcio-1.70.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.9 kB)\n",
            "Collecting google-auth<3,>=1.6.3 (from tb-nightly->gfpgan)\n",
            "  Downloading google_auth-2.50.0-py3-none-any.whl.metadata (6.2 kB)\n",
            "Collecting google-auth-oauthlib<1.1,>=0.5 (from tb-nightly->gfpgan)\n",
            "  Downloading google_auth_oauthlib-1.0.0-py2.py3-none-any.whl.metadata (2.7 kB)\n",
            "Collecting markdown>=2.6.8 (from tb-nightly->gfpgan)\n",
            "  Downloading Markdown-3.7-py3-none-any.whl.metadata (7.0 kB)\n",
            "Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tb-nightly->gfpgan)\n",
            "  Downloading tensorboard_data_server-0.7.2-py3-none-manylinux_2_31_x86_64.whl.metadata (1.1 kB)\n",
            "Collecting werkzeug>=1.0.1 (from tb-nightly->gfpgan)\n",
            "  Downloading werkzeug-3.0.6-py3-none-any.whl.metadata (3.7 kB)\n",
            "Collecting tomli>=2.0.1 (from yapf->gfpgan)\n",
            "  Downloading tomli-2.4.1-py3-none-any.whl.metadata (10 kB)\n",
            "Collecting pycparser (from cffi>=1.0->soundfile>=0.12.1->librosa)\n",
            "  Using cached pycparser-2.23-py3-none-any.whl.metadata (993 bytes)\n",
            "Collecting pyasn1-modules>=0.2.1 (from google-auth<3,>=1.6.3->tb-nightly->gfpgan)\n",
            "  Downloading pyasn1_modules-0.4.2-py3-none-any.whl.metadata (3.5 kB)\n",
            "Collecting cryptography>=38.0.3 (from google-auth<3,>=1.6.3->tb-nightly->gfpgan)\n",
            "  Downloading cryptography-47.0.0-cp38-abi3-manylinux_2_34_x86_64.whl.metadata (4.5 kB)\n",
            "Collecting requests-oauthlib>=0.7.0 (from google-auth-oauthlib<1.1,>=0.5->tb-nightly->gfpgan)\n",
            "  Downloading requests_oauthlib-2.0.0-py2.py3-none-any.whl.metadata (11 kB)\n",
            "Collecting zipp>=3.20 (from importlib-metadata->numba->facexlib==0.3.0)\n",
            "  Downloading zipp-3.20.2-py3-none-any.whl.metadata (3.7 kB)\n",
            "Collecting contourpy>=1.0.1 (from matplotlib->filterpy->facexlib==0.3.0)\n",
            "  Downloading contourpy-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.9 kB)\n",
            "Collecting cycler>=0.10 (from matplotlib->filterpy->facexlib==0.3.0)\n",
            "  Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)\n",
            "Collecting fonttools>=4.22.0 (from matplotlib->filterpy->facexlib==0.3.0)\n",
            "  Downloading fonttools-4.57.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (102 kB)\n",
            "Collecting kiwisolver>=1.0.1 (from matplotlib->filterpy->facexlib==0.3.0)\n",
            "  Downloading kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (6.3 kB)\n",
            "Collecting pyparsing>=2.3.1 (from matplotlib->filterpy->facexlib==0.3.0)\n",
            "  Downloading pyparsing-3.1.4-py3-none-any.whl.metadata (5.1 kB)\n",
            "Collecting python-dateutil>=2.7 (from matplotlib->filterpy->facexlib==0.3.0)\n",
            "  Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)\n",
            "Collecting importlib-resources>=3.2.0 (from matplotlib->filterpy->facexlib==0.3.0)\n",
            "  Downloading importlib_resources-6.4.5-py3-none-any.whl.metadata (4.0 kB)\n",
            "Collecting pyasn1<0.7.0,>=0.6.1 (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tb-nightly->gfpgan)\n",
            "  Downloading pyasn1-0.6.4-py3-none-any.whl.metadata (8.4 kB)\n",
            "Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->filterpy->facexlib==0.3.0)\n",
            "  Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)\n",
            "Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tb-nightly->gfpgan)\n",
            "  Downloading oauthlib-3.3.1-py3-none-any.whl.metadata (7.9 kB)\n",
            "Downloading numpy-1.23.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 88.5 MB/s eta 0:00:00\n",
            "Downloading torch-2.0.1-cp38-cp38-manylinux1_x86_64.whl (619.9 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 619.9/619.9 MB 14.4 MB/s eta 0:00:00\n",
            "Downloading torchvision-0.15.2-cp38-cp38-manylinux1_x86_64.whl (33.8 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 33.8/33.8 MB 28.7 MB/s eta 0:00:00\n",
            "Downloading torchaudio-2.0.2-cp38-cp38-manylinux1_x86_64.whl (4.4 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 7.4 MB/s eta 0:00:00\n",
            "Downloading facexlib-0.3.0-py3-none-any.whl (59 kB)\n",
            "Downloading nvidia_cublas_cu11-11.10.3.66-py3-none-manylinux1_x86_64.whl (317.1 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 317.1/317.1 MB 60.8 MB/s eta 0:00:00\n",
            "Downloading nvidia_cuda_cupti_cu11-11.7.101-py3-none-manylinux1_x86_64.whl (11.8 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.8/11.8 MB 92.2 MB/s eta 0:00:00\n",
            "Downloading nvidia_cuda_nvrtc_cu11-11.7.99-2-py3-none-manylinux1_x86_64.whl (21.0 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.0/21.0 MB 128.8 MB/s eta 0:00:00\n",
            "Downloading nvidia_cuda_runtime_cu11-11.7.99-py3-none-manylinux1_x86_64.whl (849 kB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 849.3/849.3 kB 50.3 MB/s eta 0:00:00\n",
            "Downloading nvidia_cudnn_cu11-8.5.0.96-2-py3-none-manylinux1_x86_64.whl (557.1 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 557.1/557.1 MB 22.4 MB/s eta 0:00:00\n",
            "Downloading nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux2014_x86_64.whl (168.4 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.4/168.4 MB 63.0 MB/s eta 0:00:00\n",
            "Downloading nvidia_curand_cu11-10.2.10.91-py3-none-manylinux1_x86_64.whl (54.6 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.6/54.6 MB 54.5 MB/s eta 0:00:00\n",
            "Downloading nvidia_cusolver_cu11-11.4.0.1-2-py3-none-manylinux1_x86_64.whl (102.6 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.6/102.6 MB 55.4 MB/s eta 0:00:00\n",
            "Downloading nvidia_cusparse_cu11-11.7.4.91-py3-none-manylinux1_x86_64.whl (173.2 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 173.2/173.2 MB 66.9 MB/s eta 0:00:00\n",
            "Downloading nvidia_nccl_cu11-2.14.3-py3-none-manylinux1_x86_64.whl (177.1 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.1/177.1 MB 64.4 MB/s eta 0:00:00\n",
            "Downloading nvidia_nvtx_cu11-11.7.91-py3-none-manylinux1_x86_64.whl (98 kB)\n",
            "Downloading triton-2.0.0-1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (63.2 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.2/63.2 MB 42.2 MB/s eta 0:00:00\n",
            "Downloading gfpgan-1.3.8-py3-none-any.whl (52 kB)\n",
            "Downloading insightface-1.0.1-py3-none-any.whl (762 kB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 762.2/762.2 kB 46.4 MB/s eta 0:00:00\n",
            "Downloading onnxruntime-1.19.2-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.2 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.2/13.2 MB 99.6 MB/s eta 0:00:00\n",
            "Downloading opencv_python_headless-5.0.0.93-cp37-abi3-manylinux_2_28_x86_64.whl (61.2 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 MB 52.7 MB/s eta 0:00:00\n",
            "Downloading yacs-0.1.8-py3-none-any.whl (14 kB)\n",
            "Downloading kornia-0.7.3-py2.py3-none-any.whl (833 kB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 833.3/833.3 kB 47.5 MB/s eta 0:00:00\n",
            "Downloading gTTS-2.5.4-py3-none-any.whl (29 kB)\n",
            "Downloading safetensors-0.5.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (471 kB)\n",
            "Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n",
            "Downloading librosa-0.11.0-py3-none-any.whl (260 kB)\n",
            "Downloading audioread-3.0.1-py3-none-any.whl (23 kB)\n",
            "Downloading click-8.1.8-py3-none-any.whl (98 kB)\n",
            "Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)\n",
            "Downloading imageio-2.35.1-py3-none-any.whl (315 kB)\n",
            "Downloading imageio_ffmpeg-0.5.1-py3-none-manylinux2010_x86_64.whl (26.9 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 26.9/26.9 MB 118.2 MB/s eta 0:00:00\n",
            "Downloading joblib-1.4.2-py3-none-any.whl (301 kB)\n",
            "Downloading kornia_rs-0.1.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 75.4 MB/s eta 0:00:00\n",
            "Downloading lazy_loader-0.4-py3-none-any.whl (12 kB)\n",
            "Downloading msgpack-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (413 kB)\n",
            "Downloading numba-0.58.1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.7 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 96.2 MB/s eta 0:00:00\n",
            "Downloading pillow-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl (4.5 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 96.0 MB/s eta 0:00:00\n",
            "Downloading pooch-1.8.2-py3-none-any.whl (64 kB)\n",
            "Downloading packaging-26.2-py3-none-any.whl (100 kB)\n",
            "Downloading proglog-0.1.12-py3-none-any.whl (6.3 kB)\n",
            "Downloading requests-2.32.4-py3-none-any.whl (64 kB)\n",
            "Downloading scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.1/11.1 MB 112.7 MB/s eta 0:00:00\n",
            "Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.5/34.5 MB 44.9 MB/s eta 0:00:00\n",
            "Downloading soundfile-0.13.1-py2.py3-none-manylinux_2_28_x86_64.whl (1.3 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 33.6 MB/s eta 0:00:00\n",
            "Downloading soxr-0.3.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 47.3 MB/s eta 0:00:00\n",
            "Downloading tqdm-4.70.1-py3-none-any.whl (80 kB)\n",
            "Downloading typing_extensions-4.13.2-py3-none-any.whl (45 kB)\n",
            "Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)\n",
            "Using cached filelock-3.16.1-py3-none-any.whl (16 kB)\n",
            "Downloading flatbuffers-25.12.19-py2.py3-none-any.whl (26 kB)\n",
            "Using cached jinja2-3.1.6-py3-none-any.whl (134 kB)\n",
            "Using cached networkx-3.1-py3-none-any.whl (2.1 MB)\n",
            "Downloading onnx-1.17.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.0 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.0/16.0 MB 65.4 MB/s eta 0:00:00\n",
            "Downloading protobuf-5.29.6-cp38-abi3-manylinux2014_x86_64.whl (320 kB)\n",
            "Downloading opencv_python-5.0.0.93-cp37-abi3-manylinux_2_28_x86_64.whl (73.8 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.8/73.8 MB 50.8 MB/s eta 0:00:00\n",
            "Downloading psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl (155 kB)\n",
            "Downloading PyYAML-6.0.3-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (806 kB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 806.0/806.0 kB 40.9 MB/s eta 0:00:00\n",
            "Downloading scikit_image-0.21.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.9 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.9/13.9 MB 95.3 MB/s eta 0:00:00\n",
            "Using cached sympy-1.13.3-py3-none-any.whl (6.2 MB)\n",
            "Downloading tb_nightly-2.14.0a20230808-py3-none-any.whl (5.5 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 112.1 MB/s eta 0:00:00\n",
            "Downloading yapf-0.43.0-py3-none-any.whl (256 kB)\n",
            "Downloading absl_py-2.3.1-py3-none-any.whl (135 kB)\n",
            "Downloading certifi-2026.7.22-py3-none-any.whl (136 kB)\n",
            "Using cached cffi-1.17.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446 kB)\n",
            "Downloading charset_normalizer-3.5.1-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (253 kB)\n",
            "Downloading google_auth-2.50.0-py3-none-any.whl (246 kB)\n",
            "Downloading google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)\n",
            "Downloading grpcio-1.70.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 112.0 MB/s eta 0:00:00\n",
            "Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)\n",
            "Downloading idna-3.15-py3-none-any.whl (72 kB)\n",
            "Downloading llvmlite-0.41.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (43.6 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.6/43.6 MB 58.3 MB/s eta 0:00:00\n",
            "Downloading Markdown-3.7-py3-none-any.whl (106 kB)\n",
            "Downloading importlib_metadata-8.5.0-py3-none-any.whl (26 kB)\n",
            "Using cached MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB)\n",
            "Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)\n",
            "Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)\n",
            "Downloading PyWavelets-1.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 98.7 MB/s eta 0:00:00\n",
            "Downloading tensorboard_data_server-0.7.2-py3-none-manylinux_2_31_x86_64.whl (6.6 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 97.7 MB/s eta 0:00:00\n",
            "Downloading threadpoolctl-3.5.0-py3-none-any.whl (18 kB)\n",
            "Downloading tifffile-2023.7.10-py3-none-any.whl (220 kB)\n",
            "Downloading tomli-2.4.1-py3-none-any.whl (14 kB)\n",
            "Downloading urllib3-2.2.3-py3-none-any.whl (126 kB)\n",
            "Downloading werkzeug-3.0.6-py3-none-any.whl (227 kB)\n",
            "Downloading addict-2.4.0-py3-none-any.whl (3.8 kB)\n",
            "Downloading cmake-4.4.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (30.2 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 30.2/30.2 MB 43.8 MB/s eta 0:00:00\n",
            "Downloading future-1.0.0-py3-none-any.whl (491 kB)\n",
            "Downloading lit-23.1.1-py3-none-any.whl (111 kB)\n",
            "Downloading matplotlib-3.7.5-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (9.2 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.2/9.2 MB 88.7 MB/s eta 0:00:00\n",
            "Downloading contourpy-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (301 kB)\n",
            "Downloading cryptography-47.0.0-cp38-abi3-manylinux_2_34_x86_64.whl (4.7 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 120.5 MB/s eta 0:00:00\n",
            "Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)\n",
            "Downloading fonttools-4.57.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 123.0 MB/s eta 0:00:00\n",
            "Downloading importlib_resources-6.4.5-py3-none-any.whl (36 kB)\n",
            "Downloading kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB)\n",
            "   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 76.5 MB/s eta 0:00:00\n",
            "Downloading pyasn1_modules-0.4.2-py3-none-any.whl (181 kB)\n",
            "Downloading pyparsing-3.1.4-py3-none-any.whl (104 kB)\n",
            "Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)\n",
            "Downloading requests_oauthlib-2.0.0-py2.py3-none-any.whl (24 kB)\n",
            "Downloading zipp-3.20.2-py3-none-any.whl (9.2 kB)\n",
            "Using cached pycparser-2.23-py3-none-any.whl (118 kB)\n",
            "Downloading oauthlib-3.3.1-py3-none-any.whl (160 kB)\n",
            "Downloading pyasn1-0.6.4-py3-none-any.whl (84 kB)\n",
            "Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)\n",
            "Building wheels for collected packages: moviepy, basicsr, filterpy, lmdb\n",
            "  Building wheel for moviepy (setup.py): started\n",
            "  Building wheel for moviepy (setup.py): finished with status 'done'\n",
            "  Created wheel for moviepy: filename=moviepy-1.0.3-py3-none-any.whl size=110711 sha256=a59d506eab44fc779e6be18c9362126c355b551e4b2d52937919492fc8d1915f\n",
            "  Stored in directory: /root/.cache/pip/wheels/e4/a4/db/0368d3a04033da662e13926594b3a8cf1aa4ffeefe570cfac1\n",
            "  Building wheel for basicsr (setup.py): started\n",
            "  Building wheel for basicsr (setup.py): finished with status 'done'\n",
            "  Created wheel for basicsr: filename=basicsr-1.4.2-py3-none-any.whl size=214816 sha256=a38e7091c2465d7961894276540d81af48cc47d4346f9de6f44244d6ec9bad97\n",
            "  Stored in directory: /root/.cache/pip/wheels/4d/d3/95/e17d0bcdd7dcfb0dbf79db006711e434c42036efbf6695ef7f\n",
            "  Building wheel for filterpy (setup.py): started\n",
            "  Building wheel for filterpy (setup.py): finished with status 'done'\n",
            "  Created wheel for filterpy: filename=filterpy-1.4.5-py3-none-any.whl size=110458 sha256=bd013a6370e214e79d18c48c8dafdbfbe4ac44d652308bb391f427b48b6c3aeb\n",
            "  Stored in directory: /root/.cache/pip/wheels/fe/f6/cb/40331472edf4fd399b8cad02973c6acbdf26898342928327fe\n",
            "  Building wheel for lmdb (pyproject.toml): started\n",
            "  Building wheel for lmdb (pyproject.toml): finished with status 'done'\n",
            "  Created wheel for lmdb: filename=lmdb-2.1.1-cp38-cp38-linux_x86_64.whl size=318963 sha256=68b447892fc7308f97eac75455b14ea1865f0610a0cb48e276a09eff38babb65\n",
            "  Stored in directory: /root/.cache/pip/wheels/64/ab/77/d70291497bb08539212667abb567e24e96ca1757f48d285eee\n",
            "Successfully built moviepy basicsr filterpy lmdb\n",
            "Installing collected packages: pydub, mpmath, lmdb, lit, flatbuffers, addict, zipp, urllib3, typing-extensions, tqdm, tomli, threadpoolctl, tensorboard-data-server, sympy, six, safetensors, pyyaml, pyparsing, pycparser, pyasn1, psutil, protobuf, platformdirs, pillow, packaging, oauthlib, nvidia-nvtx-cu11, nvidia-nccl-cu11, nvidia-cusparse-cu11, nvidia-curand-cu11, nvidia-cufft-cu11, nvidia-cuda-runtime-cu11, nvidia-cuda-nvrtc-cu11, nvidia-cuda-cupti-cu11, nvidia-cublas-cu11, numpy, networkx, msgpack, MarkupSafe, llvmlite, kornia-rs, kiwisolver, joblib, imageio_ffmpeg, idna, humanfriendly, grpcio, future, fonttools, filelock, decorator, cycler, cmake, click, charset_normalizer, certifi, audioread, absl-py, yapf, yacs, werkzeug, tifffile, soxr, scipy, requests, PyWavelets, python-dateutil, pyasn1-modules, proglog, opencv-python-headless, opencv-python, onnx, nvidia-cusolver-cu11, nvidia-cudnn-cu11, lazy_loader, jinja2, importlib-resources, importlib-metadata, imageio, contourpy, coloredlogs, cffi, soundfile, scikit-learn, scikit-image, requests-oauthlib, pooch, onnxruntime, numba, moviepy, matplotlib, markdown, gtts, cryptography, librosa, insightface, google-auth, filterpy, google-auth-oauthlib, tb-nightly, triton, torch, torchvision, facexlib, basicsr, torchaudio, kornia, gfpgan\n",
            "Successfully installed MarkupSafe-2.1.5 PyWavelets-1.4.1 absl-py-2.3.1 addict-2.4.0 audioread-3.0.1 basicsr-1.4.2 certifi-2026.7.22 cffi-1.17.1 charset_normalizer-3.5.1 click-8.1.8 cmake-4.4.3 coloredlogs-15.0.1 contourpy-1.1.1 cryptography-47.0.0 cycler-0.12.1 decorator-4.4.2 facexlib-0.3.0 filelock-3.16.1 filterpy-1.4.5 flatbuffers-25.12.19 fonttools-4.57.0 future-1.0.0 gfpgan-1.3.8 google-auth-2.50.0 google-auth-oauthlib-1.0.0 grpcio-1.70.0 gtts-2.5.4 humanfriendly-10.0 idna-3.15 imageio-2.35.1 imageio_ffmpeg-0.5.1 importlib-metadata-8.5.0 importlib-resources-6.4.5 insightface-1.0.1 jinja2-3.1.6 joblib-1.4.2 kiwisolver-1.4.7 kornia-0.7.3 kornia-rs-0.1.14 lazy_loader-0.4 librosa-0.11.0 lit-23.1.1 llvmlite-0.41.1 lmdb-2.1.1 markdown-3.7 matplotlib-3.7.5 moviepy-1.0.3 mpmath-1.3.0 msgpack-1.1.1 networkx-3.1 numba-0.58.1 numpy-1.23.5 nvidia-cublas-cu11-11.10.3.66 nvidia-cuda-cupti-cu11-11.7.101 nvidia-cuda-nvrtc-cu11-11.7.99 nvidia-cuda-runtime-cu11-11.7.99 nvidia-cudnn-cu11-8.5.0.96 nvidia-cufft-cu11-10.9.0.58 nvidia-curand-cu11-10.2.10.91 nvidia-cusolver-cu11-11.4.0.1 nvidia-cusparse-cu11-11.7.4.91 nvidia-nccl-cu11-2.14.3 nvidia-nvtx-cu11-11.7.91 oauthlib-3.3.1 onnx-1.17.0 onnxruntime-1.19.2 opencv-python-5.0.0.93 opencv-python-headless-5.0.0.93 packaging-26.2 pillow-10.4.0 platformdirs-4.3.6 pooch-1.8.2 proglog-0.1.12 protobuf-5.29.6 psutil-7.2.2 pyasn1-0.6.4 pyasn1-modules-0.4.2 pycparser-2.23 pydub-0.25.1 pyparsing-3.1.4 python-dateutil-2.9.0.post0 pyyaml-6.0.3 requests-2.32.4 requests-oauthlib-2.0.0 safetensors-0.5.3 scikit-image-0.21.0 scikit-learn-1.3.2 scipy-1.10.1 six-1.17.0 soundfile-0.13.1 soxr-0.3.7 sympy-1.13.3 tb-nightly-2.14.0a20230808 tensorboard-data-server-0.7.2 threadpoolctl-3.5.0 tifffile-2023.7.10 tomli-2.4.1 torch-2.0.1 torchaudio-2.0.2 torchvision-0.15.2 tqdm-4.70.1 triton-2.0.0 typing-extensions-4.13.2 urllib3-2.2.3 werkzeug-3.0.6 yacs-0.1.8 yapf-0.43.0 zipp-3.20.2\n"
          ]
        },
        {
          "output_type": "stream",
          "name": "stderr",
          "text": [
            "ERROR: File or directory already exists: '/content/miniconda3'\n",
            "If you want to update an existing installation, use the -u option.\n",
            "\n",
            "\n",
            "==> WARNING: A newer version of conda exists. <==\n",
            "    current version: 26.7.1\n",
            "    latest version: 26.7.2\n",
            "\n",
            "Please update conda by running\n",
            "\n",
            "    $ conda self update\n",
            "\n",
            "\n",
            "WARNING conda.conda_pypi.main:notify_externally_managed_future(156): \n",
            "  Did you know? You can install many PyPI packages with conda\n",
            "  using the conda-pypi beta. Get started:\n",
            "    https://docs.conda.io/projects/conda/en/stable/new-features.html\n",
            "\n"
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "%%bash\n",
        "cd /content/SadTalker\n",
        "\n",
        "# Create necessary directories\n",
        "mkdir -p ./checkpoints ./gfpgan/weights\n",
        "\n",
        "# Download core SadTalker models\n",
        "wget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00109-model.pth.tar -O ./checkpoints/mapping_00109-model.pth.tar\n",
        "wget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00229-model.pth.tar -O ./checkpoints/mapping_00229-model.pth.tar\n",
        "wget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_256.safetensors -O ./checkpoints/SadTalker_V0.0.2_256.safetensors\n",
        "wget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_512.safetensors -O ./checkpoints/SadTalker_V0.0.2_512.safetensors\n",
        "\n",
        "# Download GFPGAN enhancer models\n",
        "wget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/alignment_WFLW_4HG.pth -O ./gfpgan/weights/alignment_WFLW_4HG.pth\n",
        "wget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth -O ./gfpgan/weights/detection_Resnet50_Final.pth\n",
        "wget -nc https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -O ./gfpgan/weights/GFPGANv1.4.pth\n",
        "wget -nc https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth -O ./gfpgan/weights/parsing_parsenet.pth"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 602
        },
        "id": "Bx6hzfQgsbnl",
        "outputId": "23811eca-4f30-41e3-f8a4-72a1938f49f8"
      },
      "execution_count": 18,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stderr",
          "text": [
            "mkdir: cannot create directory ‘./checkpoints’: File exists\n",
            "File ‘./checkpoints/mapping_00109-model.pth.tar’ already there; not retrieving.\n",
            "File ‘./checkpoints/mapping_00229-model.pth.tar’ already there; not retrieving.\n",
            "File ‘./checkpoints/SadTalker_V0.0.2_256.safetensors’ already there; not retrieving.\n",
            "File ‘./checkpoints/SadTalker_V0.0.2_512.safetensors’ already there; not retrieving.\n",
            "File ‘./gfpgan/weights/alignment_WFLW_4HG.pth’ already there; not retrieving.\n",
            "File ‘./gfpgan/weights/detection_Resnet50_Final.pth’ already there; not retrieving.\n",
            "File ‘./gfpgan/weights/GFPGANv1.4.pth’ already there; not retrieving.\n",
            "File ‘./gfpgan/weights/parsing_parsenet.pth’ already there; not retrieving.\n"
          ]
        },
        {
          "output_type": "error",
          "ename": "CalledProcessError",
          "evalue": "Command 'b'# Navigate to your SadTalker directory\\ncd /content/SadTalker\\n\\n# Run the official download script\\nbash scripts/download_models.sh\\n'' returned non-zero exit status 1.",
          "traceback": [
            "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
            "\u001b[0;31mCalledProcessError\u001b[0m                        Traceback (most recent call last)",
            "\u001b[0;32m/tmp/ipykernel_888/763976756.py\u001b[0m in \u001b[0;36m<cell line: 0>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_cell_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'bash'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m''\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'# Navigate to your SadTalker directory\\ncd /content/SadTalker\\n\\n# Run the official download script\\nbash scripts/download_models.sh\\n'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/google/colab/_shell.py\u001b[0m in \u001b[0;36mrun_cell_magic\u001b[0;34m(self, magic_name, line, cell)\u001b[0m\n\u001b[1;32m    221\u001b[0m     \u001b[0;32mif\u001b[0m \u001b[0mline\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    222\u001b[0m       \u001b[0mcell\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m' '\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 223\u001b[0;31m     \u001b[0;32mreturn\u001b[0m \u001b[0msuper\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_cell_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmagic_name\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    224\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    225\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/interactiveshell.py\u001b[0m in \u001b[0;36mrun_cell_magic\u001b[0;34m(self, magic_name, line, cell)\u001b[0m\n\u001b[1;32m   2471\u001b[0m             \u001b[0;32mwith\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbuiltin_trap\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   2472\u001b[0m                 \u001b[0margs\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mmagic_arg_s\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 2473\u001b[0;31m                 \u001b[0mresult\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mfn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m   2474\u001b[0m             \u001b[0;32mreturn\u001b[0m \u001b[0mresult\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   2475\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magics/script.py\u001b[0m in \u001b[0;36mnamed_script_magic\u001b[0;34m(line, cell)\u001b[0m\n\u001b[1;32m    140\u001b[0m             \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    141\u001b[0m                 \u001b[0mline\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mscript\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 142\u001b[0;31m             \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshebang\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    143\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    144\u001b[0m         \u001b[0;31m# write a basic docstring:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m<decorator-gen-103>\u001b[0m in \u001b[0;36mshebang\u001b[0;34m(self, line, cell)\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magic.py\u001b[0m in \u001b[0;36m<lambda>\u001b[0;34m(f, *a, **k)\u001b[0m\n\u001b[1;32m    185\u001b[0m     \u001b[0;31m# but it's overkill for just that one bit of state.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    186\u001b[0m     \u001b[0;32mdef\u001b[0m \u001b[0mmagic_deco\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 187\u001b[0;31m         \u001b[0mcall\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;32mlambda\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0ma\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mk\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0ma\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mk\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    188\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    189\u001b[0m         \u001b[0;32mif\u001b[0m \u001b[0mcallable\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magics/script.py\u001b[0m in \u001b[0;36mshebang\u001b[0;34m(self, line, cell)\u001b[0m\n\u001b[1;32m    243\u001b[0m             \u001b[0msys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mstderr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mflush\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    244\u001b[0m         \u001b[0;32mif\u001b[0m \u001b[0margs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mraise_error\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreturncode\u001b[0m\u001b[0;34m!=\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 245\u001b[0;31m             \u001b[0;32mraise\u001b[0m \u001b[0mCalledProcessError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreturncode\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0moutput\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mout\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mstderr\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0merr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    246\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    247\u001b[0m     \u001b[0;32mdef\u001b[0m \u001b[0m_run_script\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mp\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mto_close\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;31mCalledProcessError\u001b[0m: Command 'b'# Navigate to your SadTalker directory\\ncd /content/SadTalker\\n\\n# Run the official download script\\nbash scripts/download_models.sh\\n'' returned non-zero exit status 1."
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "%%bash\n",
        "cd /content/SadTalker\n",
        "\n",
        "# Create necessary directories\n",
        "mkdir -p ./checkpoints ./gfpgan/weights\n",
        "\n",
        "# Download core SadTalker models\n",
        "wget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00109-model.pth.tar -O ./checkpoints/mapping_00109-model.pth.tar\n",
        "wget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00229-model.pth.tar -O ./checkpoints/mapping_00229-model.pth.tar\n",
        "wget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_256.safetensors -O ./checkpoints/SadTalker_V0.0.2_256.safetensors\n",
        "wget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_512.safetensors -O ./checkpoints/SadTalker_V0.0.2_512.safetensors\n",
        "\n",
        "# Download GFPGAN enhancer models\n",
        "wget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/alignment_WFLW_4HG.pth -O ./gfpgan/weights/alignment_WFLW_4HG.pth\n",
        "wget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth -O ./gfpgan/weights/detection_Resnet50_Final.pth\n",
        "wget -nc https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -O ./gfpgan/weights/GFPGANv1.4.pth\n",
        "wget -nc https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth -O ./gfpgan/weights/parsing_parsenet.pth"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/",
          "height": 1000
        },
        "id": "TtI8UsUhslFi",
        "outputId": "ef0cb6f1-5be7-444b-8368-233705be1f73"
      },
      "execution_count": 19,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stderr",
          "text": [
            "File ‘./checkpoints/mapping_00109-model.pth.tar’ already there; not retrieving.\n",
            "File ‘./checkpoints/mapping_00229-model.pth.tar’ already there; not retrieving.\n",
            "File ‘./checkpoints/SadTalker_V0.0.2_256.safetensors’ already there; not retrieving.\n",
            "File ‘./checkpoints/SadTalker_V0.0.2_512.safetensors’ already there; not retrieving.\n",
            "File ‘./gfpgan/weights/alignment_WFLW_4HG.pth’ already there; not retrieving.\n",
            "File ‘./gfpgan/weights/detection_Resnet50_Final.pth’ already there; not retrieving.\n",
            "File ‘./gfpgan/weights/GFPGANv1.4.pth’ already there; not retrieving.\n",
            "File ‘./gfpgan/weights/parsing_parsenet.pth’ already there; not retrieving.\n"
          ]
        },
        {
          "output_type": "error",
          "ename": "CalledProcessError",
          "evalue": "Command 'b'cd /content/SadTalker\\n\\n# Create necessary directories\\nmkdir -p ./checkpoints ./gfpgan/weights\\n\\n# Download core SadTalker models\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00109-model.pth.tar -O ./checkpoints/mapping_00109-model.pth.tar\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00229-model.pth.tar -O ./checkpoints/mapping_00229-model.pth.tar\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_256.safetensors -O ./checkpoints/SadTalker_V0.0.2_256.safetensors\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_512.safetensors -O ./checkpoints/SadTalker_V0.0.2_512.safetensors\\n\\n# Download GFPGAN enhancer models\\nwget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/alignment_WFLW_4HG.pth -O ./gfpgan/weights/alignment_WFLW_4HG.pth\\nwget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth -O ./gfpgan/weights/detection_Resnet50_Final.pth\\nwget -nc https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -O ./gfpgan/weights/GFPGANv1.4.pth\\nwget -nc https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth -O ./gfpgan/weights/parsing_parsenet.pth\\n'' returned non-zero exit status 1.",
          "traceback": [
            "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
            "\u001b[0;31mCalledProcessError\u001b[0m                        Traceback (most recent call last)",
            "\u001b[0;32m/tmp/ipykernel_888/2010651393.py\u001b[0m in \u001b[0;36m<cell line: 0>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_cell_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'bash'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m''\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'cd /content/SadTalker\\n\\n# Create necessary directories\\nmkdir -p ./checkpoints ./gfpgan/weights\\n\\n# Download core SadTalker models\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00109-model.pth.tar -O ./checkpoints/mapping_00109-model.pth.tar\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00229-model.pth.tar -O ./checkpoints/mapping_00229-model.pth.tar\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_256.safetensors -O ./checkpoints/SadTalker_V0.0.2_256.safetensors\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_512.safetensors -O ./checkpoints/SadTalker_V0.0.2_512.safetensors\\n\\n# Download GFPGAN enhancer models\\nwget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/alignment_WFLW_4HG.pth -O ./gfpgan/weights/alignment_WFLW_4HG.pth\\nwget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth -O ./gfpgan/weights/detection_Resnet50_Final.pth\\nwget -nc https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -O ./gfpgan/weights/GFPGANv1.4.pth\\nwget -nc https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth -O ./gfpgan/weights/parsing_...\n\u001b[0m",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/google/colab/_shell.py\u001b[0m in \u001b[0;36mrun_cell_magic\u001b[0;34m(self, magic_name, line, cell)\u001b[0m\n\u001b[1;32m    221\u001b[0m     \u001b[0;32mif\u001b[0m \u001b[0mline\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    222\u001b[0m       \u001b[0mcell\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m' '\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 223\u001b[0;31m     \u001b[0;32mreturn\u001b[0m \u001b[0msuper\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_cell_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmagic_name\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    224\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    225\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/interactiveshell.py\u001b[0m in \u001b[0;36mrun_cell_magic\u001b[0;34m(self, magic_name, line, cell)\u001b[0m\n\u001b[1;32m   2471\u001b[0m             \u001b[0;32mwith\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mbuiltin_trap\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   2472\u001b[0m                 \u001b[0margs\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mmagic_arg_s\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 2473\u001b[0;31m                 \u001b[0mresult\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mfn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m   2474\u001b[0m             \u001b[0;32mreturn\u001b[0m \u001b[0mresult\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   2475\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magics/script.py\u001b[0m in \u001b[0;36mnamed_script_magic\u001b[0;34m(line, cell)\u001b[0m\n\u001b[1;32m    140\u001b[0m             \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    141\u001b[0m                 \u001b[0mline\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mscript\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 142\u001b[0;31m             \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshebang\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mline\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    143\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    144\u001b[0m         \u001b[0;31m# write a basic docstring:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m<decorator-gen-103>\u001b[0m in \u001b[0;36mshebang\u001b[0;34m(self, line, cell)\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magic.py\u001b[0m in \u001b[0;36m<lambda>\u001b[0;34m(f, *a, **k)\u001b[0m\n\u001b[1;32m    185\u001b[0m     \u001b[0;31m# but it's overkill for just that one bit of state.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    186\u001b[0m     \u001b[0;32mdef\u001b[0m \u001b[0mmagic_deco\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 187\u001b[0;31m         \u001b[0mcall\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;32mlambda\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0ma\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mk\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mf\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0ma\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mk\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    188\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    189\u001b[0m         \u001b[0;32mif\u001b[0m \u001b[0mcallable\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marg\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;32m/usr/local/lib/python3.13/dist-packages/IPython/core/magics/script.py\u001b[0m in \u001b[0;36mshebang\u001b[0;34m(self, line, cell)\u001b[0m\n\u001b[1;32m    243\u001b[0m             \u001b[0msys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mstderr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mflush\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    244\u001b[0m         \u001b[0;32mif\u001b[0m \u001b[0margs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mraise_error\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreturncode\u001b[0m\u001b[0;34m!=\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 245\u001b[0;31m             \u001b[0;32mraise\u001b[0m \u001b[0mCalledProcessError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreturncode\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0moutput\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mout\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mstderr\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0merr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    246\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    247\u001b[0m     \u001b[0;32mdef\u001b[0m \u001b[0m_run_script\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mp\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcell\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mto_close\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
            "\u001b[0;31mCalledProcessError\u001b[0m: Command 'b'cd /content/SadTalker\\n\\n# Create necessary directories\\nmkdir -p ./checkpoints ./gfpgan/weights\\n\\n# Download core SadTalker models\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00109-model.pth.tar -O ./checkpoints/mapping_00109-model.pth.tar\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/mapping_00229-model.pth.tar -O ./checkpoints/mapping_00229-model.pth.tar\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_256.safetensors -O ./checkpoints/SadTalker_V0.0.2_256.safetensors\\nwget -nc https://github.com/OpenTalker/SadTalker/releases/download/v0.0.2-rc/SadTalker_V0.0.2_512.safetensors -O ./checkpoints/SadTalker_V0.0.2_512.safetensors\\n\\n# Download GFPGAN enhancer models\\nwget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/alignment_WFLW_4HG.pth -O ./gfpgan/weights/alignment_WFLW_4HG.pth\\nwget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth -O ./gfpgan/weights/detection_Resnet50_Final.pth\\nwget -nc https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -O ./gfpgan/weights/GFPGANv1.4.pth\\nwget -nc https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth -O ./gfpgan/weights/parsing_parsenet.pth\\n'' returned non-zero exit status 1."
          ]
        }
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "%%bash\n",
        "# 1. Activate your Conda environment\n",
        "source /content/miniconda3/bin/activate sadtalker\n",
        "\n",
        "# 2. Navigate to the SadTalker folder\n",
        "cd /content/SadTalker\n",
        "\n",
        "# 3. Run the generation script (pointing to your uploaded files)\n",
        "python inference.py \\\n",
        "  --driven_audio /content/sadtalker-corporate-male-audio.wav \\\n",
        "  --source_image /content/sadtalker-corporate-presenter-source.png \\\n",
        "  --result_dir ./results \\\n",
        "  --size 512 \\\n",
        "  --still \\\n",
        "  --preprocess crop \\\n",
        "  --enhancer gfpgan"
      ],
      "metadata": {
        "colab": {
          "base_uri": "https://localhost:8080/"
        },
        "id": "Zk82OhFKs-HV",
        "outputId": "8b78ec01-69ef-4749-a562-40cc4390f3ad"
      },
      "execution_count": 21,
      "outputs": [
        {
          "output_type": "stream",
          "name": "stdout",
          "text": [
            "using safetensor as default\n",
            "3DMM Extraction for source image\n",
            "The generated video is named ./results/2026_09_12_13.03.47/sadtalker-corporate-presenter-source##sadtalker-corporate-male-audio.mp4\n",
            "face enhancer....\n",
            "The generated video is named ./results/2026_09_12_13.03.47/sadtalker-corporate-presenter-source##sadtalker-corporate-male-audio_enhanced.mp4\n",
            "The generated video is named: ./results/2026_09_12_13.03.47.mp4\n"
          ]
        },
        {
          "output_type": "stream",
          "name": "stderr",
          "text": [
            "\rlandmark Det::   0%|          | 0/1 [00:00<?, ?it/s]\rlandmark Det:: 100%|██████████| 1/1 [00:00<00:00,  7.48it/s]\rlandmark Det:: 100%|██████████| 1/1 [00:00<00:00,  7.46it/s]\n",
            "\r3DMM Extraction In Video::   0%|          | 0/1 [00:00<?, ?it/s]\r3DMM Extraction In Video:: 100%|██████████| 1/1 [00:00<00:00, 12.41it/s]\n",
            "\rmel::   0%|          | 0/309 [00:00<?, ?it/s]\rmel:: 100%|██████████| 309/309 [00:00<00:00, 42969.30it/s]\n",
            "\raudio2exp::   0%|          | 0/31 [00:00<?, ?it/s]\raudio2exp:: 100%|██████████| 31/31 [00:00<00:00, 263.24it/s]\raudio2exp:: 100%|██████████| 31/31 [00:00<00:00, 262.78it/s]\n",
            "\rFace Renderer::   0%|          | 0/155 [00:00<?, ?it/s]\rFace Renderer::   1%|          | 1/155 [00:00<00:45,  3.39it/s]\rFace Renderer::   1%|▏         | 2/155 [00:02<03:24,  1.33s/it]\rFace Renderer::   2%|▏         | 3/155 [00:04<04:16,  1.69s/it]\rFace Renderer::   3%|▎         | 4/155 [00:06<04:40,  1.86s/it]\rFace Renderer::   3%|▎         | 5/155 [00:08<04:53,  1.96s/it]\rFace Renderer::   4%|▍         | 6/155 [00:10<05:00,  2.02s/it]\rFace Renderer::   5%|▍         | 7/155 [00:13<05:05,  2.06s/it]\rFace Renderer::   5%|▌         | 8/155 [00:15<05:08,  2.10s/it]\rFace Renderer::   6%|▌         | 9/155 [00:17<05:10,  2.12s/it]\rFace Renderer::   6%|▋         | 10/155 [00:19<05:10,  2.14s/it]\rFace Renderer::   7%|▋         | 11/155 [00:21<05:10,  2.15s/it]\rFace Renderer::   8%|▊         | 12/155 [00:23<05:09,  2.16s/it]\rFace Renderer::   8%|▊         | 13/155 [00:26<05:08,  2.17s/it]\rFace Renderer::   9%|▉         | 14/155 [00:28<05:08,  2.18s/it]\rFace Renderer::  10%|▉         | 15/155 [00:30<05:07,  2.20s/it]\rFace Renderer::  10%|█         | 16/155 [00:32<05:06,  2.20s/it]\rFace Renderer::  11%|█         | 17/155 [00:34<05:05,  2.21s/it]\rFace Renderer::  12%|█▏        | 18/155 [00:37<05:03,  2.21s/it]\rFace Renderer::  12%|█▏        | 19/155 [00:39<05:02,  2.22s/it]\rFace Renderer::  13%|█▎        | 20/155 [00:41<05:01,  2.23s/it]\rFace Renderer::  14%|█▎        | 21/155 [00:43<05:00,  2.25s/it]\rFace Renderer::  14%|█▍        | 22/155 [00:46<04:59,  2.25s/it]\rFace Renderer::  15%|█▍        | 23/155 [00:48<04:58,  2.26s/it]\rFace Renderer::  15%|█▌        | 24/155 [00:50<04:57,  2.27s/it]\rFace Renderer::  16%|█▌        | 25/155 [00:53<04:57,  2.29s/it]\rFace Renderer::  17%|█▋        | 26/155 [00:55<04:56,  2.30s/it]\rFace Renderer::  17%|█▋        | 27/155 [00:57<04:55,  2.31s/it]\rFace Renderer::  18%|█▊        | 28/155 [01:00<04:55,  2.32s/it]\rFace Renderer::  19%|█▊        | 29/155 [01:02<04:53,  2.33s/it]\rFace Renderer::  19%|█▉        | 30/155 [01:04<04:53,  2.34s/it]\rFace Renderer::  20%|██        | 31/155 [01:07<04:52,  2.36s/it]\rFace Renderer::  21%|██        | 32/155 [01:09<04:51,  2.37s/it]\rFace Renderer::  21%|██▏       | 33/155 [01:12<04:51,  2.39s/it]\rFace Renderer::  22%|██▏       | 34/155 [01:14<04:51,  2.41s/it]\rFace Renderer::  23%|██▎       | 35/155 [01:16<04:49,  2.41s/it]\rFace Renderer::  23%|██▎       | 36/155 [01:19<04:47,  2.42s/it]\rFace Renderer::  24%|██▍       | 37/155 [01:21<04:46,  2.43s/it]\rFace Renderer::  25%|██▍       | 38/155 [01:24<04:46,  2.44s/it]\rFace Renderer::  25%|██▌       | 39/155 [01:26<04:44,  2.45s/it]\rFace Renderer::  26%|██▌       | 40/155 [01:29<04:43,  2.47s/it]\rFace Renderer::  26%|██▋       | 41/155 [01:31<04:43,  2.48s/it]\rFace Renderer::  27%|██▋       | 42/155 [01:34<04:41,  2.49s/it]\rFace Renderer::  28%|██▊       | 43/155 [01:36<04:40,  2.51s/it]\rFace Renderer::  28%|██▊       | 44/155 [01:39<04:40,  2.53s/it]\rFace Renderer::  29%|██▉       | 45/155 [01:42<04:39,  2.54s/it]\rFace Renderer::  30%|██▉       | 46/155 [01:44<04:39,  2.56s/it]\rFace Renderer::  30%|███       | 47/155 [01:47<04:38,  2.58s/it]\rFace Renderer::  31%|███       | 48/155 [01:49<04:38,  2.60s/it]\rFace Renderer::  32%|███▏      | 49/155 [01:52<04:37,  2.62s/it]\rFace Renderer::  32%|███▏      | 50/155 [01:55<04:37,  2.64s/it]\rFace Renderer::  33%|███▎      | 51/155 [01:57<04:36,  2.66s/it]\rFace Renderer::  34%|███▎      | 52/155 [02:00<04:35,  2.67s/it]\rFace Renderer::  34%|███▍      | 53/155 [02:03<04:34,  2.69s/it]\rFace Renderer::  35%|███▍      | 54/155 [02:06<04:32,  2.70s/it]\rFace Renderer::  35%|███▌      | 55/155 [02:08<04:30,  2.71s/it]\rFace Renderer::  36%|███▌      | 56/155 [02:11<04:28,  2.71s/it]\rFace Renderer::  37%|███▋      | 57/155 [02:14<04:25,  2.71s/it]\rFace Renderer::  37%|███▋      | 58/155 [02:16<04:21,  2.69s/it]\rFace Renderer::  38%|███▊      | 59/155 [02:19<04:17,  2.68s/it]\rFace Renderer::  39%|███▊      | 60/155 [02:22<04:13,  2.67s/it]\rFace Renderer::  39%|███▉      | 61/155 [02:24<04:10,  2.66s/it]\rFace Renderer::  40%|████      | 62/155 [02:27<04:06,  2.65s/it]\rFace Renderer::  41%|████      | 63/155 [02:30<04:03,  2.64s/it]\rFace Renderer::  41%|████▏     | 64/155 [02:32<03:59,  2.63s/it]\rFace Renderer::  42%|████▏     | 65/155 [02:35<03:56,  2.62s/it]\rFace Renderer::  43%|████▎     | 66/155 [02:37<03:52,  2.62s/it]\rFace Renderer::  43%|████▎     | 67/155 [02:40<03:49,  2.61s/it]\rFace Renderer::  44%|████▍     | 68/155 [02:43<03:46,  2.60s/it]\rFace Renderer::  45%|████▍     | 69/155 [02:45<03:43,  2.60s/it]\rFace Renderer::  45%|████▌     | 70/155 [02:48<03:40,  2.60s/it]\rFace Renderer::  46%|████▌     | 71/155 [02:50<03:38,  2.60s/it]\rFace Renderer::  46%|████▋     | 72/155 [02:53<03:35,  2.59s/it]\rFace Renderer::  47%|████▋     | 73/155 [02:56<03:32,  2.60s/it]\rFace Renderer::  48%|████▊     | 74/155 [02:58<03:30,  2.60s/it]\rFace Renderer::  48%|████▊     | 75/155 [03:01<03:28,  2.60s/it]\rFace Renderer::  49%|████▉     | 76/155 [03:03<03:25,  2.60s/it]\rFace Renderer::  50%|████▉     | 77/155 [03:06<03:23,  2.61s/it]\rFace Renderer::  50%|█████     | 78/155 [03:09<03:21,  2.61s/it]\rFace Renderer::  51%|█████     | 79/155 [03:11<03:18,  2.62s/it]\rFace Renderer::  52%|█████▏    | 80/155 [03:14<03:16,  2.62s/it]\rFace Renderer::  52%|█████▏    | 81/155 [03:17<03:14,  2.63s/it]\rFace Renderer::  53%|█████▎    | 82/155 [03:19<03:12,  2.63s/it]\rFace Renderer::  54%|█████▎    | 83/155 [03:22<03:09,  2.63s/it]\rFace Renderer::  54%|█████▍    | 84/155 [03:24<03:07,  2.64s/it]\rFace Renderer::  55%|█████▍    | 85/155 [03:27<03:05,  2.64s/it]\rFace Renderer::  55%|█████▌    | 86/155 [03:30<03:02,  2.64s/it]\rFace Renderer::  56%|█████▌    | 87/155 [03:32<02:59,  2.65s/it]\rFace Renderer::  57%|█████▋    | 88/155 [03:35<02:57,  2.64s/it]\rFace Renderer::  57%|█████▋    | 89/155 [03:38<02:54,  2.64s/it]\rFace Renderer::  58%|█████▊    | 90/155 [03:40<02:51,  2.64s/it]\rFace Renderer::  59%|█████▊    | 91/155 [03:43<02:49,  2.65s/it]\rFace Renderer::  59%|█████▉    | 92/155 [03:46<02:46,  2.64s/it]\rFace Renderer::  60%|██████    | 93/155 [03:48<02:43,  2.64s/it]\rFace Renderer::  61%|██████    | 94/155 [03:51<02:40,  2.63s/it]\rFace Renderer::  61%|██████▏   | 95/155 [03:54<02:38,  2.64s/it]\rFace Renderer::  62%|██████▏   | 96/155 [03:56<02:35,  2.64s/it]\rFace Renderer::  63%|██████▎   | 97/155 [03:59<02:32,  2.64s/it]\rFace Renderer::  63%|██████▎   | 98/155 [04:01<02:30,  2.63s/it]\rFace Renderer::  64%|██████▍   | 99/155 [04:04<02:27,  2.63s/it]\rFace Renderer::  65%|██████▍   | 100/155 [04:07<02:24,  2.63s/it]\rFace Renderer::  65%|██████▌   | 101/155 [04:09<02:22,  2.63s/it]\rFace Renderer::  66%|██████▌   | 102/155 [04:12<02:19,  2.63s/it]\rFace Renderer::  66%|██████▋   | 103/155 [04:15<02:16,  2.63s/it]\rFace Renderer::  67%|██████▋   | 104/155 [04:17<02:14,  2.63s/it]\rFace Renderer::  68%|██████▊   | 105/155 [04:20<02:11,  2.63s/it]\rFace Renderer::  68%|██████▊   | 106/155 [04:22<02:08,  2.63s/it]\rFace Renderer::  69%|██████▉   | 107/155 [04:25<02:06,  2.63s/it]\rFace Renderer::  70%|██████▉   | 108/155 [04:28<02:03,  2.63s/it]\rFace Renderer::  70%|███████   | 109/155 [04:30<02:00,  2.63s/it]\rFace Renderer::  71%|███████   | 110/155 [04:33<01:58,  2.63s/it]\rFace Renderer::  72%|███████▏  | 111/155 [04:36<01:56,  2.64s/it]\rFace Renderer::  72%|███████▏  | 112/155 [04:38<01:53,  2.64s/it]\rFace Renderer::  73%|███████▎  | 113/155 [04:41<01:50,  2.64s/it]\rFace Renderer::  74%|███████▎  | 114/155 [04:44<01:48,  2.64s/it]\rFace Renderer::  74%|███████▍  | 115/155 [04:46<01:45,  2.65s/it]\rFace Renderer::  75%|███████▍  | 116/155 [04:49<01:43,  2.66s/it]\rFace Renderer::  75%|███████▌  | 117/155 [04:52<01:40,  2.65s/it]\rFace Renderer::  76%|███████▌  | 118/155 [04:54<01:38,  2.65s/it]\rFace Renderer::  77%|███████▋  | 119/155 [04:57<01:35,  2.65s/it]\rFace Renderer::  77%|███████▋  | 120/155 [05:00<01:32,  2.65s/it]\rFace Renderer::  78%|███████▊  | 121/155 [05:02<01:30,  2.65s/it]\rFace Renderer::  79%|███████▊  | 122/155 [05:05<01:27,  2.64s/it]\rFace Renderer::  79%|███████▉  | 123/155 [05:07<01:24,  2.64s/it]\rFace Renderer::  80%|████████  | 124/155 [05:10<01:21,  2.64s/it]\rFace Renderer::  81%|████████  | 125/155 [05:13<01:19,  2.64s/it]\rFace Renderer::  81%|████████▏ | 126/155 [05:15<01:16,  2.64s/it]\rFace Renderer::  82%|████████▏ | 127/155 [05:18<01:13,  2.63s/it]\rFace Renderer::  83%|████████▎ | 128/155 [05:21<01:10,  2.62s/it]\rFace Renderer::  83%|████████▎ | 129/155 [05:23<01:07,  2.61s/it]\rFace Renderer::  84%|████████▍ | 130/155 [05:26<01:05,  2.61s/it]\rFace Renderer::  85%|████████▍ | 131/155 [05:28<01:02,  2.60s/it]\rFace Renderer::  85%|████████▌ | 132/155 [05:31<00:59,  2.59s/it]\rFace Renderer::  86%|████████▌ | 133/155 [05:33<00:56,  2.58s/it]\rFace Renderer::  86%|████████▋ | 134/155 [05:36<00:54,  2.58s/it]\rFace Renderer::  87%|████████▋ | 135/155 [05:39<00:51,  2.58s/it]\rFace Renderer::  88%|████████▊ | 136/155 [05:41<00:48,  2.58s/it]\rFace Renderer::  88%|████████▊ | 137/155 [05:44<00:46,  2.58s/it]\rFace Renderer::  89%|████████▉ | 138/155 [05:46<00:43,  2.58s/it]\rFace Renderer::  90%|████████▉ | 139/155 [05:49<00:41,  2.59s/it]\rFace Renderer::  90%|█████████ | 140/155 [05:52<00:38,  2.60s/it]\rFace Renderer::  91%|█████████ | 141/155 [05:54<00:36,  2.60s/it]\rFace Renderer::  92%|█████████▏| 142/155 [05:57<00:33,  2.61s/it]\rFace Renderer::  92%|█████████▏| 143/155 [05:59<00:31,  2.62s/it]\rFace Renderer::  93%|█████████▎| 144/155 [06:02<00:28,  2.63s/it]\rFace Renderer::  94%|█████████▎| 145/155 [06:05<00:26,  2.63s/it]\rFace Renderer::  94%|█████████▍| 146/155 [06:07<00:23,  2.64s/it]\rFace Renderer::  95%|█████████▍| 147/155 [06:10<00:21,  2.65s/it]\rFace Renderer::  95%|█████████▌| 148/155 [06:13<00:18,  2.65s/it]\rFace Renderer::  96%|█████████▌| 149/155 [06:15<00:15,  2.65s/it]\rFace Renderer::  97%|█████████▋| 150/155 [06:18<00:13,  2.65s/it]\rFace Renderer::  97%|█████████▋| 151/155 [06:21<00:10,  2.65s/it]\rFace Renderer::  98%|█████████▊| 152/155 [06:23<00:07,  2.65s/it]\rFace Renderer::  99%|█████████▊| 153/155 [06:26<00:05,  2.65s/it]\rFace Renderer::  99%|█████████▉| 154/155 [06:29<00:02,  2.65s/it]\rFace Renderer:: 100%|██████████| 155/155 [06:31<00:00,  2.65s/it]\rFace Renderer:: 100%|██████████| 155/155 [06:31<00:00,  2.53s/it]\n",
            "\rFace Enhancer::   0%|          | 0/309 [00:00<?, ?it/s]\rFace Enhancer::   0%|          | 1/309 [00:00<02:44,  1.87it/s]\rFace Enhancer::   1%|          | 2/309 [00:00<02:19,  2.20it/s]\rFace Enhancer::   1%|          | 3/309 [00:01<02:10,  2.35it/s]\rFace Enhancer::   1%|▏         | 4/309 [00:01<02:05,  2.42it/s]\rFace Enhancer::   2%|▏         | 5/309 [00:02<02:03,  2.45it/s]\rFace Enhancer::   2%|▏         | 6/309 [00:02<02:01,  2.49it/s]\rFace Enhancer::   2%|▏         | 7/309 [00:02<02:02,  2.47it/s]\rFace Enhancer::   3%|▎         | 8/309 [00:03<02:00,  2.49it/s]\rFace Enhancer::   3%|▎         | 9/309 [00:03<01:59,  2.50it/s]\rFace Enhancer::   3%|▎         | 10/309 [00:04<02:00,  2.48it/s]\rFace Enhancer::   4%|▎         | 11/309 [00:04<01:59,  2.49it/s]\rFace Enhancer::   4%|▍         | 12/309 [00:04<02:01,  2.45it/s]\rFace Enhancer::   4%|▍         | 13/309 [00:05<02:09,  2.29it/s]\rFace Enhancer::   5%|▍         | 14/309 [00:05<02:15,  2.17it/s]\rFace Enhancer::   5%|▍         | 15/309 [00:06<02:19,  2.11it/s]\rFace Enhancer::   5%|▌         | 16/309 [00:06<02:22,  2.06it/s]\rFace Enhancer::   6%|▌         | 17/309 [00:07<02:22,  2.05it/s]\rFace Enhancer::   6%|▌         | 18/309 [00:07<02:22,  2.04it/s]\rFace Enhancer::   6%|▌         | 19/309 [00:08<02:17,  2.10it/s]\rFace Enhancer::   6%|▋         | 20/309 [00:08<02:10,  2.22it/s]\rFace Enhancer::   7%|▋         | 21/309 [00:09<02:05,  2.30it/s]\rFace Enhancer::   7%|▋         | 22/309 [00:09<02:01,  2.37it/s]\rFace Enhancer::   7%|▋         | 23/309 [00:09<01:58,  2.41it/s]\rFace Enhancer::   8%|▊         | 24/309 [00:10<01:56,  2.44it/s]\rFace Enhancer::   8%|▊         | 25/309 [00:10<01:57,  2.42it/s]\rFace Enhancer::   8%|▊         | 26/309 [00:11<01:56,  2.43it/s]\rFace Enhancer::   9%|▊         | 27/309 [00:11<01:56,  2.43it/s]\rFace Enhancer::   9%|▉         | 28/309 [00:12<01:55,  2.44it/s]\rFace Enhancer::   9%|▉         | 29/309 [00:12<01:54,  2.44it/s]\rFace Enhancer::  10%|▉         | 30/309 [00:12<01:55,  2.41it/s]\rFace Enhancer::  10%|█         | 31/309 [00:13<01:55,  2.41it/s]\rFace Enhancer::  10%|█         | 32/309 [00:13<01:54,  2.43it/s]\rFace Enhancer::  11%|█         | 33/309 [00:14<01:53,  2.43it/s]\rFace Enhancer::  11%|█         | 34/309 [00:14<01:52,  2.44it/s]\rFace Enhancer::  11%|█▏        | 35/309 [00:14<01:51,  2.46it/s]\rFace Enhancer::  12%|█▏        | 36/309 [00:15<01:51,  2.45it/s]\rFace Enhancer::  12%|█▏        | 37/309 [00:15<01:51,  2.44it/s]\rFace Enhancer::  12%|█▏        | 38/309 [00:16<01:51,  2.43it/s]\rFace Enhancer::  13%|█▎        | 39/309 [00:16<01:51,  2.42it/s]\rFace Enhancer::  13%|█▎        | 40/309 [00:16<01:51,  2.42it/s]\rFace Enhancer::  13%|█▎        | 41/309 [00:17<01:50,  2.42it/s]\rFace Enhancer::  14%|█▎        | 42/309 [00:17<01:50,  2.42it/s]\rFace Enhancer::  14%|█▍        | 43/309 [00:18<01:53,  2.35it/s]\rFace Enhancer::  14%|█▍        | 44/309 [00:18<01:58,  2.23it/s]\rFace Enhancer::  15%|█▍        | 45/309 [00:19<02:02,  2.15it/s]\rFace Enhancer::  15%|█▍        | 46/309 [00:19<02:05,  2.09it/s]\rFace Enhancer::  15%|█▌        | 47/309 [00:20<02:08,  2.03it/s]\rFace Enhancer::  16%|█▌        | 48/309 [00:20<02:10,  2.01it/s]\rFace Enhancer::  16%|█▌        | 49/309 [00:21<02:07,  2.03it/s]\rFace Enhancer::  16%|█▌        | 50/309 [00:21<02:01,  2.14it/s]\rFace Enhancer::  17%|█▋        | 51/309 [00:22<01:56,  2.21it/s]\rFace Enhancer::  17%|█▋        | 52/309 [00:22<01:53,  2.27it/s]\rFace Enhancer::  17%|█▋        | 53/309 [00:22<01:51,  2.30it/s]\rFace Enhancer::  17%|█▋        | 54/309 [00:23<01:52,  2.27it/s]\rFace Enhancer::  18%|█▊        | 55/309 [00:23<01:50,  2.31it/s]\rFace Enhancer::  18%|█▊        | 56/309 [00:24<01:48,  2.33it/s]\rFace Enhancer::  18%|█▊        | 57/309 [00:24<01:47,  2.35it/s]\rFace Enhancer::  19%|█▉        | 58/309 [00:25<01:47,  2.33it/s]\rFace Enhancer::  19%|█▉        | 59/309 [00:25<01:46,  2.35it/s]\rFace Enhancer::  19%|█▉        | 60/309 [00:25<01:45,  2.36it/s]\rFace Enhancer::  20%|█▉        | 61/309 [00:26<01:45,  2.34it/s]\rFace Enhancer::  20%|██        | 62/309 [00:26<01:45,  2.35it/s]\rFace Enhancer::  20%|██        | 63/309 [00:27<01:44,  2.35it/s]\rFace Enhancer::  21%|██        | 64/309 [00:27<01:44,  2.35it/s]\rFace Enhancer::  21%|██        | 65/309 [00:28<01:43,  2.36it/s]\rFace Enhancer::  21%|██▏       | 66/309 [00:28<01:42,  2.38it/s]\rFace Enhancer::  22%|██▏       | 67/309 [00:28<01:41,  2.38it/s]\rFace Enhancer::  22%|██▏       | 68/309 [00:29<01:41,  2.37it/s]\rFace Enhancer::  22%|██▏       | 69/309 [00:29<01:41,  2.37it/s]\rFace Enhancer::  23%|██▎       | 70/309 [00:30<01:40,  2.37it/s]\rFace Enhancer::  23%|██▎       | 71/309 [00:30<01:40,  2.36it/s]\rFace Enhancer::  23%|██▎       | 72/309 [00:31<01:40,  2.35it/s]\rFace Enhancer::  24%|██▎       | 73/309 [00:31<01:43,  2.27it/s]\rFace Enhancer::  24%|██▍       | 74/309 [00:32<01:51,  2.11it/s]\rFace Enhancer::  24%|██▍       | 75/309 [00:32<01:53,  2.06it/s]\rFace Enhancer::  25%|██▍       | 76/309 [00:33<01:56,  1.99it/s]\rFace Enhancer::  25%|██▍       | 77/309 [00:33<01:57,  1.98it/s]\rFace Enhancer::  25%|██▌       | 78/309 [00:34<01:58,  1.96it/s]\rFace Enhancer::  26%|██▌       | 79/309 [00:34<01:53,  2.02it/s]\rFace Enhancer::  26%|██▌       | 80/309 [00:35<01:48,  2.11it/s]\rFace Enhancer::  26%|██▌       | 81/309 [00:35<01:44,  2.19it/s]\rFace Enhancer::  27%|██▋       | 82/309 [00:35<01:41,  2.24it/s]\rFace Enhancer::  27%|██▋       | 83/309 [00:36<01:38,  2.29it/s]\rFace Enhancer::  27%|██▋       | 84/309 [00:36<01:37,  2.31it/s]\rFace Enhancer::  28%|██▊       | 85/309 [00:37<01:36,  2.33it/s]\rFace Enhancer::  28%|██▊       | 86/309 [00:37<01:35,  2.34it/s]\rFace Enhancer::  28%|██▊       | 87/309 [00:37<01:35,  2.34it/s]\rFace Enhancer::  28%|██▊       | 88/309 [00:38<01:34,  2.34it/s]\rFace Enhancer::  29%|██▉       | 89/309 [00:38<01:34,  2.33it/s]\rFace Enhancer::  29%|██▉       | 90/309 [00:39<01:33,  2.35it/s]\rFace Enhancer::  29%|██▉       | 91/309 [00:39<01:33,  2.33it/s]\rFace Enhancer::  30%|██▉       | 92/309 [00:40<01:33,  2.33it/s]\rFace Enhancer::  30%|███       | 93/309 [00:40<01:32,  2.34it/s]\rFace Enhancer::  30%|███       | 94/309 [00:40<01:32,  2.32it/s]\rFace Enhancer::  31%|███       | 95/309 [00:41<01:31,  2.34it/s]\rFace Enhancer::  31%|███       | 96/309 [00:41<01:31,  2.32it/s]\rFace Enhancer::  31%|███▏      | 97/309 [00:42<01:30,  2.33it/s]\rFace Enhancer::  32%|███▏      | 98/309 [00:42<01:30,  2.34it/s]\rFace Enhancer::  32%|███▏      | 99/309 [00:43<01:29,  2.35it/s]\rFace Enhancer::  32%|███▏      | 100/309 [00:43<01:29,  2.33it/s]\rFace Enhancer::  33%|███▎      | 101/309 [00:43<01:29,  2.32it/s]\rFace Enhancer::  33%|███▎      | 102/309 [00:44<01:31,  2.26it/s]\rFace Enhancer::  33%|███▎      | 103/309 [00:44<01:35,  2.15it/s]\rFace Enhancer::  34%|███▎      | 104/309 [00:45<01:38,  2.08it/s]\rFace Enhancer::  34%|███▍      | 105/309 [00:45<01:40,  2.03it/s]\rFace Enhancer::  34%|███▍      | 106/309 [00:46<01:41,  2.00it/s]\rFace Enhancer::  35%|███▍      | 107/309 [00:47<01:42,  1.98it/s]\rFace Enhancer::  35%|███▍      | 108/309 [00:47<01:39,  2.01it/s]\rFace Enhancer::  35%|███▌      | 109/309 [00:47<01:35,  2.10it/s]\rFace Enhancer::  36%|███▌      | 110/309 [00:48<01:31,  2.18it/s]\rFace Enhancer::  36%|███▌      | 111/309 [00:48<01:28,  2.24it/s]\rFace Enhancer::  36%|███▌      | 112/309 [00:49<01:26,  2.26it/s]\rFace Enhancer::  37%|███▋      | 113/309 [00:49<01:25,  2.30it/s]\rFace Enhancer::  37%|███▋      | 114/309 [00:50<01:23,  2.33it/s]\rFace Enhancer::  37%|███▋      | 115/309 [00:50<01:22,  2.34it/s]\rFace Enhancer::  38%|███▊      | 116/309 [00:50<01:21,  2.36it/s]\rFace Enhancer::  38%|███▊      | 117/309 [00:51<01:22,  2.33it/s]\rFace Enhancer::  38%|███▊      | 118/309 [00:51<01:21,  2.36it/s]\rFace Enhancer::  39%|███▊      | 119/309 [00:52<01:20,  2.36it/s]\rFace Enhancer::  39%|███▉      | 120/309 [00:52<01:20,  2.36it/s]\rFace Enhancer::  39%|███▉      | 121/309 [00:52<01:19,  2.36it/s]\rFace Enhancer::  39%|███▉      | 122/309 [00:53<01:19,  2.36it/s]\rFace Enhancer::  40%|███▉      | 123/309 [00:53<01:19,  2.35it/s]\rFace Enhancer::  40%|████      | 124/309 [00:54<01:17,  2.38it/s]\rFace Enhancer::  40%|████      | 125/309 [00:54<01:17,  2.39it/s]\rFace Enhancer::  41%|████      | 126/309 [00:55<01:16,  2.40it/s]\rFace Enhancer::  41%|████      | 127/309 [00:55<01:16,  2.39it/s]\rFace Enhancer::  41%|████▏     | 128/309 [00:55<01:15,  2.40it/s]\rFace Enhancer::  42%|████▏     | 129/309 [00:56<01:14,  2.41it/s]\rFace Enhancer::  42%|████▏     | 130/309 [00:56<01:14,  2.41it/s]\rFace Enhancer::  42%|████▏     | 131/309 [00:57<01:13,  2.41it/s]\rFace Enhancer::  43%|████▎     | 132/309 [00:57<01:16,  2.32it/s]\rFace Enhancer::  43%|████▎     | 133/309 [00:58<01:19,  2.20it/s]\rFace Enhancer::  43%|████▎     | 134/309 [00:58<01:23,  2.09it/s]\rFace Enhancer::  44%|████▎     | 135/309 [00:59<01:24,  2.06it/s]\rFace Enhancer::  44%|████▍     | 136/309 [00:59<01:25,  2.03it/s]\rFace Enhancer::  44%|████▍     | 137/309 [01:00<01:25,  2.01it/s]\rFace Enhancer::  45%|████▍     | 138/309 [01:00<01:23,  2.05it/s]\rFace Enhancer::  45%|████▍     | 139/309 [01:01<01:19,  2.13it/s]\rFace Enhancer::  45%|████▌     | 140/309 [01:01<01:16,  2.21it/s]\rFace Enhancer::  46%|████▌     | 141/309 [01:01<01:14,  2.27it/s]\rFace Enhancer::  46%|████▌     | 142/309 [01:02<01:12,  2.32it/s]\rFace Enhancer::  46%|████▋     | 143/309 [01:02<01:10,  2.36it/s]\rFace Enhancer::  47%|████▋     | 144/309 [01:03<01:10,  2.35it/s]\rFace Enhancer::  47%|████▋     | 145/309 [01:03<01:09,  2.36it/s]\rFace Enhancer::  47%|████▋     | 146/309 [01:04<01:09,  2.35it/s]\rFace Enhancer::  48%|████▊     | 147/309 [01:04<01:08,  2.38it/s]\rFace Enhancer::  48%|████▊     | 148/309 [01:04<01:07,  2.37it/s]\rFace Enhancer::  48%|████▊     | 149/309 [01:05<01:07,  2.38it/s]\rFace Enhancer::  49%|████▊     | 150/309 [01:05<01:06,  2.40it/s]\rFace Enhancer::  49%|████▉     | 151/309 [01:06<01:05,  2.41it/s]\rFace Enhancer::  49%|████▉     | 152/309 [01:06<01:04,  2.42it/s]\rFace Enhancer::  50%|████▉     | 153/309 [01:06<01:04,  2.41it/s]\rFace Enhancer::  50%|████▉     | 154/309 [01:07<01:04,  2.39it/s]\rFace Enhancer::  50%|█████     | 155/309 [01:07<01:04,  2.41it/s]\rFace Enhancer::  50%|█████     | 156/309 [01:08<01:04,  2.38it/s]\rFace Enhancer::  51%|█████     | 157/309 [01:08<01:03,  2.39it/s]\rFace Enhancer::  51%|█████     | 158/309 [01:09<01:03,  2.37it/s]\rFace Enhancer::  51%|█████▏    | 159/309 [01:09<01:02,  2.39it/s]\rFace Enhancer::  52%|█████▏    | 160/309 [01:09<01:02,  2.40it/s]\rFace Enhancer::  52%|█████▏    | 161/309 [01:10<01:01,  2.40it/s]\rFace Enhancer::  52%|█████▏    | 162/309 [01:10<01:03,  2.31it/s]\rFace Enhancer::  53%|█████▎    | 163/309 [01:11<01:07,  2.16it/s]\rFace Enhancer::  53%|█████▎    | 164/309 [01:11<01:10,  2.06it/s]\rFace Enhancer::  53%|█████▎    | 165/309 [01:12<01:12,  1.99it/s]\rFace Enhancer::  54%|█████▎    | 166/309 [01:12<01:13,  1.95it/s]\rFace Enhancer::  54%|█████▍    | 167/309 [01:13<01:13,  1.92it/s]\rFace Enhancer::  54%|█████▍    | 168/309 [01:13<01:11,  1.97it/s]\rFace Enhancer::  55%|█████▍    | 169/309 [01:14<01:08,  2.03it/s]\rFace Enhancer::  55%|█████▌    | 170/309 [01:14<01:04,  2.14it/s]\rFace Enhancer::  55%|█████▌    | 171/309 [01:15<01:02,  2.20it/s]\rFace Enhancer::  56%|█████▌    | 172/309 [01:15<01:00,  2.25it/s]\rFace Enhancer::  56%|█████▌    | 173/309 [01:16<00:59,  2.30it/s]\rFace Enhancer::  56%|█████▋    | 174/309 [01:16<00:58,  2.32it/s]\rFace Enhancer::  57%|█████▋    | 175/309 [01:16<00:56,  2.36it/s]\rFace Enhancer::  57%|█████▋    | 176/309 [01:17<00:55,  2.38it/s]\rFace Enhancer::  57%|█████▋    | 177/309 [01:17<00:55,  2.37it/s]\rFace Enhancer::  58%|█████▊    | 178/309 [01:18<00:54,  2.39it/s]\rFace Enhancer::  58%|█████▊    | 179/309 [01:18<00:54,  2.38it/s]\rFace Enhancer::  58%|█████▊    | 180/309 [01:18<00:53,  2.39it/s]\rFace Enhancer::  59%|█████▊    | 181/309 [01:19<00:53,  2.40it/s]\rFace Enhancer::  59%|█████▉    | 182/309 [01:19<00:53,  2.39it/s]\rFace Enhancer::  59%|█████▉    | 183/309 [01:20<00:52,  2.41it/s]\rFace Enhancer::  60%|█████▉    | 184/309 [01:20<00:52,  2.40it/s]\rFace Enhancer::  60%|█████▉    | 185/309 [01:21<00:51,  2.40it/s]\rFace Enhancer::  60%|██████    | 186/309 [01:21<00:50,  2.41it/s]\rFace Enhancer::  61%|██████    | 187/309 [01:21<00:50,  2.40it/s]\rFace Enhancer::  61%|██████    | 188/309 [01:22<00:50,  2.39it/s]\rFace Enhancer::  61%|██████    | 189/309 [01:22<00:50,  2.38it/s]\rFace Enhancer::  61%|██████▏   | 190/309 [01:23<00:49,  2.38it/s]\rFace Enhancer::  62%|██████▏   | 191/309 [01:23<00:49,  2.40it/s]\rFace Enhancer::  62%|██████▏   | 192/309 [01:23<00:51,  2.28it/s]\rFace Enhancer::  62%|██████▏   | 193/309 [01:24<00:52,  2.19it/s]\rFace Enhancer::  63%|██████▎   | 194/309 [01:25<00:55,  2.08it/s]\rFace Enhancer::  63%|██████▎   | 195/309 [01:25<00:57,  2.00it/s]\rFace Enhancer::  63%|██████▎   | 196/309 [01:26<00:57,  1.96it/s]\rFace Enhancer::  64%|██████▍   | 197/309 [01:26<00:57,  1.95it/s]\rFace Enhancer::  64%|██████▍   | 198/309 [01:27<00:55,  2.02it/s]\rFace Enhancer::  64%|██████▍   | 199/309 [01:27<00:51,  2.12it/s]\rFace Enhancer::  65%|██████▍   | 200/309 [01:27<00:49,  2.19it/s]\rFace Enhancer::  65%|██████▌   | 201/309 [01:28<00:48,  2.24it/s]\rFace Enhancer::  65%|██████▌   | 202/309 [01:28<00:46,  2.31it/s]\rFace Enhancer::  66%|██████▌   | 203/309 [01:29<00:45,  2.35it/s]\rFace Enhancer::  66%|██████▌   | 204/309 [01:29<00:44,  2.38it/s]\rFace Enhancer::  66%|██████▋   | 205/309 [01:29<00:43,  2.40it/s]\rFace Enhancer::  67%|██████▋   | 206/309 [01:30<00:42,  2.41it/s]\rFace Enhancer::  67%|██████▋   | 207/309 [01:30<00:42,  2.42it/s]\rFace Enhancer::  67%|██████▋   | 208/309 [01:31<00:41,  2.41it/s]\rFace Enhancer::  68%|██████▊   | 209/309 [01:31<00:41,  2.43it/s]\rFace Enhancer::  68%|██████▊   | 210/309 [01:32<00:40,  2.43it/s]\rFace Enhancer::  68%|██████▊   | 211/309 [01:32<00:40,  2.44it/s]\rFace Enhancer::  69%|██████▊   | 212/309 [01:32<00:39,  2.44it/s]\rFace Enhancer::  69%|██████▉   | 213/309 [01:33<00:39,  2.41it/s]\rFace Enhancer::  69%|██████▉   | 214/309 [01:33<00:39,  2.42it/s]\rFace Enhancer::  70%|██████▉   | 215/309 [01:34<00:38,  2.43it/s]\rFace Enhancer::  70%|██████▉   | 216/309 [01:34<00:38,  2.43it/s]\rFace Enhancer::  70%|███████   | 217/309 [01:34<00:37,  2.43it/s]\rFace Enhancer::  71%|███████   | 218/309 [01:35<00:37,  2.43it/s]\rFace Enhancer::  71%|███████   | 219/309 [01:35<00:36,  2.44it/s]\rFace Enhancer::  71%|███████   | 220/309 [01:36<00:36,  2.43it/s]\rFace Enhancer::  72%|███████▏  | 221/309 [01:36<00:36,  2.43it/s]\rFace Enhancer::  72%|███████▏  | 222/309 [01:36<00:36,  2.41it/s]\rFace Enhancer::  72%|███████▏  | 223/309 [01:37<00:38,  2.25it/s]\rFace Enhancer::  72%|███████▏  | 224/309 [01:38<00:39,  2.15it/s]\rFace Enhancer::  73%|███████▎  | 225/309 [01:38<00:39,  2.10it/s]\rFace Enhancer::  73%|███████▎  | 226/309 [01:39<00:40,  2.04it/s]\rFace Enhancer::  73%|███████▎  | 227/309 [01:39<00:41,  1.99it/s]\rFace Enhancer::  74%|███████▍  | 228/309 [01:40<00:41,  1.97it/s]\rFace Enhancer::  74%|███████▍  | 229/309 [01:40<00:38,  2.07it/s]\rFace Enhancer::  74%|███████▍  | 230/309 [01:40<00:36,  2.15it/s]\rFace Enhancer::  75%|███████▍  | 231/309 [01:41<00:35,  2.22it/s]\rFace Enhancer::  75%|███████▌  | 232/309 [01:41<00:33,  2.28it/s]\rFace Enhancer::  75%|███████▌  | 233/309 [01:42<00:32,  2.32it/s]\rFace Enhancer::  76%|███████▌  | 234/309 [01:42<00:31,  2.35it/s]\rFace Enhancer::  76%|███████▌  | 235/309 [01:43<00:31,  2.35it/s]\rFace Enhancer::  76%|███████▋  | 236/309 [01:43<00:30,  2.37it/s]\rFace Enhancer::  77%|███████▋  | 237/309 [01:43<00:30,  2.40it/s]\rFace Enhancer::  77%|███████▋  | 238/309 [01:44<00:29,  2.40it/s]\rFace Enhancer::  77%|███████▋  | 239/309 [01:44<00:29,  2.35it/s]\rFace Enhancer::  78%|███████▊  | 240/309 [01:45<00:29,  2.34it/s]\rFace Enhancer::  78%|███████▊  | 241/309 [01:45<00:28,  2.36it/s]\rFace Enhancer::  78%|███████▊  | 242/309 [01:45<00:28,  2.35it/s]\rFace Enhancer::  79%|███████▊  | 243/309 [01:46<00:28,  2.35it/s]\rFace Enhancer::  79%|███████▉  | 244/309 [01:46<00:27,  2.36it/s]\rFace Enhancer::  79%|███████▉  | 245/309 [01:47<00:26,  2.38it/s]\rFace Enhancer::  80%|███████▉  | 246/309 [01:47<00:26,  2.38it/s]\rFace Enhancer::  80%|███████▉  | 247/309 [01:48<00:26,  2.37it/s]\rFace Enhancer::  80%|████████  | 248/309 [01:48<00:25,  2.37it/s]\rFace Enhancer::  81%|████████  | 249/309 [01:48<00:25,  2.37it/s]\rFace Enhancer::  81%|████████  | 250/309 [01:49<00:24,  2.38it/s]\rFace Enhancer::  81%|████████  | 251/309 [01:49<00:24,  2.38it/s]\rFace Enhancer::  82%|████████▏ | 252/309 [01:50<00:24,  2.29it/s]\rFace Enhancer::  82%|████████▏ | 253/309 [01:50<00:25,  2.17it/s]\rFace Enhancer::  82%|████████▏ | 254/309 [01:51<00:26,  2.09it/s]\rFace Enhancer::  83%|████████▎ | 255/309 [01:51<00:26,  2.05it/s]\rFace Enhancer::  83%|████████▎ | 256/309 [01:52<00:26,  1.99it/s]\rFace Enhancer::  83%|████████▎ | 257/309 [01:52<00:26,  1.97it/s]\rFace Enhancer::  83%|████████▎ | 258/309 [01:53<00:25,  1.99it/s]\rFace Enhancer::  84%|████████▍ | 259/309 [01:53<00:23,  2.09it/s]\rFace Enhancer::  84%|████████▍ | 260/309 [01:54<00:22,  2.15it/s]\rFace Enhancer::  84%|████████▍ | 261/309 [01:54<00:21,  2.22it/s]\rFace Enhancer::  85%|████████▍ | 262/309 [01:55<00:20,  2.26it/s]\rFace Enhancer::  85%|████████▌ | 263/309 [01:55<00:19,  2.30it/s]\rFace Enhancer::  85%|████████▌ | 264/309 [01:55<00:19,  2.33it/s]\rFace Enhancer::  86%|████████▌ | 265/309 [01:56<00:18,  2.32it/s]\rFace Enhancer::  86%|████████▌ | 266/309 [01:56<00:18,  2.32it/s]\rFace Enhancer::  86%|████████▋ | 267/309 [01:57<00:17,  2.34it/s]\rFace Enhancer::  87%|████████▋ | 268/309 [01:57<00:17,  2.36it/s]\rFace Enhancer::  87%|████████▋ | 269/309 [01:57<00:16,  2.35it/s]\rFace Enhancer::  87%|████████▋ | 270/309 [01:58<00:16,  2.37it/s]\rFace Enhancer::  88%|████████▊ | 271/309 [01:58<00:15,  2.38it/s]\rFace Enhancer::  88%|████████▊ | 272/309 [01:59<00:15,  2.35it/s]\rFace Enhancer::  88%|████████▊ | 273/309 [01:59<00:15,  2.34it/s]\rFace Enhancer::  89%|████████▊ | 274/309 [02:00<00:14,  2.35it/s]\rFace Enhancer::  89%|████████▉ | 275/309 [02:00<00:14,  2.37it/s]\rFace Enhancer::  89%|████████▉ | 276/309 [02:00<00:14,  2.36it/s]\rFace Enhancer::  90%|████████▉ | 277/309 [02:01<00:13,  2.33it/s]\rFace Enhancer::  90%|████████▉ | 278/309 [02:01<00:13,  2.36it/s]\rFace Enhancer::  90%|█████████ | 279/309 [02:02<00:12,  2.38it/s]\rFace Enhancer::  91%|█████████ | 280/309 [02:02<00:12,  2.33it/s]\rFace Enhancer::  91%|█████████ | 281/309 [02:03<00:11,  2.35it/s]\rFace Enhancer::  91%|█████████▏| 282/309 [02:03<00:12,  2.25it/s]\rFace Enhancer::  92%|█████████▏| 283/309 [02:04<00:12,  2.15it/s]\rFace Enhancer::  92%|█████████▏| 284/309 [02:04<00:11,  2.08it/s]\rFace Enhancer::  92%|█████████▏| 285/309 [02:05<00:11,  2.03it/s]\rFace Enhancer::  93%|█████████▎| 286/309 [02:05<00:11,  1.99it/s]\rFace Enhancer::  93%|█████████▎| 287/309 [02:06<00:11,  1.96it/s]\rFace Enhancer::  93%|█████████▎| 288/309 [02:06<00:10,  2.02it/s]\rFace Enhancer::  94%|█████████▎| 289/309 [02:07<00:09,  2.12it/s]\rFace Enhancer::  94%|█████████▍| 290/309 [02:07<00:08,  2.20it/s]\rFace Enhancer::  94%|█████████▍| 291/309 [02:07<00:07,  2.25it/s]\rFace Enhancer::  94%|█████████▍| 292/309 [02:08<00:07,  2.28it/s]\rFace Enhancer::  95%|█████████▍| 293/309 [02:08<00:06,  2.32it/s]\rFace Enhancer::  95%|█████████▌| 294/309 [02:09<00:06,  2.33it/s]\rFace Enhancer::  95%|█████████▌| 295/309 [02:09<00:05,  2.34it/s]\rFace Enhancer::  96%|█████████▌| 296/309 [02:09<00:05,  2.36it/s]\rFace Enhancer::  96%|█████████▌| 297/309 [02:10<00:05,  2.36it/s]\rFace Enhancer::  96%|█████████▋| 298/309 [02:10<00:04,  2.37it/s]\rFace Enhancer::  97%|█████████▋| 299/309 [02:11<00:04,  2.35it/s]\rFace Enhancer::  97%|█████████▋| 300/309 [02:11<00:03,  2.36it/s]\rFace Enhancer::  97%|█████████▋| 301/309 [02:12<00:03,  2.36it/s]\rFace Enhancer::  98%|█████████▊| 302/309 [02:12<00:02,  2.36it/s]\rFace Enhancer::  98%|█████████▊| 303/309 [02:12<00:02,  2.34it/s]\rFace Enhancer::  98%|█████████▊| 304/309 [02:13<00:02,  2.35it/s]\rFace Enhancer::  99%|█████████▊| 305/309 [02:13<00:01,  2.36it/s]\rFace Enhancer::  99%|█████████▉| 306/309 [02:14<00:01,  2.33it/s]\rFace Enhancer::  99%|█████████▉| 307/309 [02:14<00:00,  2.36it/s]\rFace Enhancer:: 100%|█████████▉| 308/309 [02:15<00:00,  2.33it/s]\rFace Enhancer:: 100%|██████████| 309/309 [02:15<00:00,  2.33it/s]\rFace Enhancer:: 100%|██████████| 309/309 [02:15<00:00,  2.28it/s]\n"
          ]
        }
      ]
    }
  ]
}