Spaces:
Runtime error
Runtime error
edit app.py and change default example images
Browse files- FONT/gradio_demo.py +0 -1
- app.py +2 -2
- example/images/60.png +3 -0
- example/images/7.png +3 -0
FONT/gradio_demo.py
CHANGED
|
@@ -494,7 +494,6 @@ class FONT():
|
|
| 494 |
|
| 495 |
|
| 496 |
pose_dim = np.load(pose_file).shape[-1]
|
| 497 |
-
all_pose = np.load(pose_file).reshape(-1, pose_dim)
|
| 498 |
all_pose = self.smooth_pose(pose_file, pose_given)
|
| 499 |
|
| 500 |
source_image = img_as_float32(io.imread(source_image_path))
|
|
|
|
| 494 |
|
| 495 |
|
| 496 |
pose_dim = np.load(pose_file).shape[-1]
|
|
|
|
| 497 |
all_pose = self.smooth_pose(pose_file, pose_given)
|
| 498 |
|
| 499 |
source_image = img_as_float32(io.imread(source_image_path))
|
app.py
CHANGED
|
@@ -11,8 +11,8 @@ def tfr(source_img, driving_audio):
|
|
| 11 |
|
| 12 |
tfr_demo = gr.Interface(fn=tfr, inputs=[gr.Image(type="filepath"), gr.Audio(type="filepath")],
|
| 13 |
outputs=gr.Video(include_audio=True, height=256, width=256),
|
| 14 |
-
examples=[["./example/images/
|
| 15 |
-
["./example/images/
|
| 16 |
|
| 17 |
def greet(name):
|
| 18 |
return "Hello, " + name + "!"
|
|
|
|
| 11 |
|
| 12 |
tfr_demo = gr.Interface(fn=tfr, inputs=[gr.Image(type="filepath"), gr.Audio(type="filepath")],
|
| 13 |
outputs=gr.Video(include_audio=True, height=256, width=256),
|
| 14 |
+
examples=[["./example/images/60.png", "./example/audios/6343252661930009508_00092.wav"],
|
| 15 |
+
["./example/images/7.png", "./example/audios/6350921755403330389_00056.wav"]])
|
| 16 |
|
| 17 |
def greet(name):
|
| 18 |
return "Hello, " + name + "!"
|
example/images/60.png
ADDED
|
Git LFS Details
|
example/images/7.png
ADDED
|
Git LFS Details
|