Spaces:
Build error
Build error
use gpu
Browse files- app.py +2 -2
- final.mp4 +3 -0
- gradio_queue.db +0 -0
app.py
CHANGED
@@ -102,7 +102,7 @@ def inference(video, image):
|
|
102 |
kp_detector,
|
103 |
relative=True,
|
104 |
adapt_movement_scale=True,
|
105 |
-
cpu=
|
106 |
)
|
107 |
imageio.mimsave("result.mp4", [img_as_ubyte(frame) for frame in predictions], fps=fps)
|
108 |
imageio.mimsave("driving.mp4", [img_as_ubyte(frame) for frame in driving_video], fps=fps)
|
@@ -120,7 +120,7 @@ examples = [["bella_porch.mp4", "julien.png"]]
|
|
120 |
generator, kp_detector = load_checkpoints(
|
121 |
config_path="config/vox-256.yaml",
|
122 |
checkpoint_path="weights/vox-adv-cpk.pth.tar",
|
123 |
-
cpu=
|
124 |
)
|
125 |
|
126 |
iface = gr.Interface(
|
|
|
102 |
kp_detector,
|
103 |
relative=True,
|
104 |
adapt_movement_scale=True,
|
105 |
+
cpu=False,
|
106 |
)
|
107 |
imageio.mimsave("result.mp4", [img_as_ubyte(frame) for frame in predictions], fps=fps)
|
108 |
imageio.mimsave("driving.mp4", [img_as_ubyte(frame) for frame in driving_video], fps=fps)
|
|
|
120 |
generator, kp_detector = load_checkpoints(
|
121 |
config_path="config/vox-256.yaml",
|
122 |
checkpoint_path="weights/vox-adv-cpk.pth.tar",
|
123 |
+
cpu=False,
|
124 |
)
|
125 |
|
126 |
iface = gr.Interface(
|
final.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61787c7b967f5c0ab7ec755c440d2af029acb51ebce6ae3692c55666e29de1aa
|
3 |
+
size 680850
|
gradio_queue.db
CHANGED
Binary files a/gradio_queue.db and b/gradio_queue.db differ
|
|