Spaces:
Runtime error
Runtime error
Tolga
commited on
Commit
·
8e36b4d
1
Parent(s):
bbf859c
version1
Browse files- app.py +2 -3
- assets/readme.md +0 -0
- checkpoints/readme.md +0 -0
app.py
CHANGED
@@ -7,7 +7,6 @@ import numpy as np
|
|
7 |
import matplotlib.pyplot as plt
|
8 |
import matplotlib.animation as animation
|
9 |
from skimage.transform import resize
|
10 |
-
from IPython.display import HTML
|
11 |
import warnings
|
12 |
import os
|
13 |
from model import load_checkpoints
|
@@ -26,8 +25,8 @@ source_image_path = './assets/source.png'
|
|
26 |
driving_video_path = './assets/driving.mp4'
|
27 |
output_video_path = './generated.mp4'
|
28 |
config_path = './config/vox-256.yaml'
|
29 |
-
checkpoint_path = '
|
30 |
-
|
31 |
predict_mode = 'relative' # ['standard', 'relative', 'avd']
|
32 |
find_best_frame = False # when use the relative mode to animate a face, use 'find_best_frame=True' can get better quality result
|
33 |
|
|
|
7 |
import matplotlib.pyplot as plt
|
8 |
import matplotlib.animation as animation
|
9 |
from skimage.transform import resize
|
|
|
10 |
import warnings
|
11 |
import os
|
12 |
from model import load_checkpoints
|
|
|
25 |
driving_video_path = './assets/driving.mp4'
|
26 |
output_video_path = './generated.mp4'
|
27 |
config_path = './config/vox-256.yaml'
|
28 |
+
checkpoint_path = 'models/vox.pth.tar'
|
29 |
+
|
30 |
predict_mode = 'relative' # ['standard', 'relative', 'avd']
|
31 |
find_best_frame = False # when use the relative mode to animate a face, use 'find_best_frame=True' can get better quality result
|
32 |
|
assets/readme.md
ADDED
File without changes
|
checkpoints/readme.md
ADDED
File without changes
|