Spaces:
Runtime error
Runtime error
File size: 519 Bytes
c517ba2 986de0b c517ba2 986de0b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import gradio as gr
import dlib, cv2, os
import numpy as np
import skvideo
import skvideo.io
from tqdm import tqdm
os.system('git clone https://github.com/facebookresearch/av_hubert.git')
from avhubert.preparation.align_mouth import landmarks_interpolate, crop_patch, write_video_ffmpeg
from base64 import b64encode
import cv2
import tempfile
from argparse import Namespace
import fairseq
from fairseq import checkpoint_utils, options, tasks, utils
from fairseq.dataclass.configs import GenerationConfig
import torch |