Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -168,13 +168,8 @@ def drive_vi(source_image, driving_video, mode, find_best_frame, relative, adapt
|
|
168 |
return result_video_path
|
169 |
|
170 |
|
171 |
-
os.environ['CUDA_VISIBLE_DEVICES'] = "3"
|
172 |
config = "config/vox-256.yaml"
|
173 |
checkpoint = "00000099-checkpoint.pth.tar"
|
174 |
-
mode = "reenactment"
|
175 |
-
relative = True
|
176 |
-
adapt_scale = True
|
177 |
-
find_best_frame = True
|
178 |
cpu = torch.cuda.is_available() # decided by the deploying environment
|
179 |
|
180 |
description = "We propose a Face Neural Volume Rendering (FNeVR) network for more realistic face animation, by taking the merits of 2D motion warping on facial expression transformation and 3D volume rendering on high-quality image synthesis in a unified framework.<br>[Paper](https://arxiv.org/abs/2209.10340) and [Code](https://github.com/zengbohan0217/FNeVR)"
|
|
|
168 |
return result_video_path
|
169 |
|
170 |
|
|
|
171 |
config = "config/vox-256.yaml"
|
172 |
checkpoint = "00000099-checkpoint.pth.tar"
|
|
|
|
|
|
|
|
|
173 |
cpu = torch.cuda.is_available() # decided by the deploying environment
|
174 |
|
175 |
description = "We propose a Face Neural Volume Rendering (FNeVR) network for more realistic face animation, by taking the merits of 2D motion warping on facial expression transformation and 3D volume rendering on high-quality image synthesis in a unified framework.<br>[Paper](https://arxiv.org/abs/2209.10340) and [Code](https://github.com/zengbohan0217/FNeVR)"
|