Skip to content

Commit

Permalink
fix some bugs and add start script
Browse files Browse the repository at this point in the history
  • Loading branch information
dunnousername committed Sep 10, 2020
1 parent 6e08765 commit f742640
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ evaluation/test_filelists/lr*.txt
*.mp3
wav2lip.pth
venv/
facedetection/detection/sfd/s3fd.pth
facedetection/detection/sfd/s3fd.pth
model/
1 change: 1 addition & 0 deletions gui.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from tkinter.filedialog import askopenfilename, asksaveasfilename
from simpletk import *
from inference import main
Expand Down
2 changes: 1 addition & 1 deletion inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
parser = argparse.ArgumentParser(description='Inference code to lip-sync videos in the wild using Wav2Lip models')

parser.add_argument('--checkpoint_path', type=str,
help='Name of saved checkpoint to load weights from', default='wav2lip.pth')
help='Name of saved checkpoint to load weights from', default='model/wav2lip.pth')

parser.add_argument('--face', type=str,
help='Filepath of video/image that contains faces to use')
Expand Down
4 changes: 4 additions & 0 deletions start.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
cd /D "%~dp0"
"%~dp0\python.exe" gui.py
pause

0 comments on commit f742640

Please sign in to comment.