Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ huggingface_hub.hf_hub_download(
|
|
31 |
|
32 |
huggingface_hub.hf_hub_download(
|
33 |
repo_id='ixaac/MimicMotion',
|
34 |
-
filename='MimicMotion_1.pth',
|
35 |
local_dir='./models',
|
36 |
local_dir_use_symlinks=False,
|
37 |
)
|
@@ -89,7 +89,7 @@ def infer(ref_image_in, ref_video_in):
|
|
89 |
# Define the values for the variables
|
90 |
ref_video_path = ref_video_in
|
91 |
ref_image_path = ref_image_in
|
92 |
-
num_frames =
|
93 |
resolution = 576
|
94 |
frames_overlap = 6
|
95 |
num_inference_steps = 25
|
@@ -102,7 +102,7 @@ def infer(ref_image_in, ref_video_in):
|
|
102 |
# Create the data structure
|
103 |
data = {
|
104 |
'base_model_path': 'stabilityai/stable-video-diffusion-img2vid-xt-1-1',
|
105 |
-
'ckpt_path': 'models/MimicMotion_1.pth',
|
106 |
'test_case': [
|
107 |
{
|
108 |
'ref_video_path': ref_video_path,
|
|
|
31 |
|
32 |
huggingface_hub.hf_hub_download(
|
33 |
repo_id='ixaac/MimicMotion',
|
34 |
+
filename='MimicMotion_1-1.pth',
|
35 |
local_dir='./models',
|
36 |
local_dir_use_symlinks=False,
|
37 |
)
|
|
|
89 |
# Define the values for the variables
|
90 |
ref_video_path = ref_video_in
|
91 |
ref_image_path = ref_image_in
|
92 |
+
num_frames = 72
|
93 |
resolution = 576
|
94 |
frames_overlap = 6
|
95 |
num_inference_steps = 25
|
|
|
102 |
# Create the data structure
|
103 |
data = {
|
104 |
'base_model_path': 'stabilityai/stable-video-diffusion-img2vid-xt-1-1',
|
105 |
+
'ckpt_path': 'models/MimicMotion_1-1.pth',
|
106 |
'test_case': [
|
107 |
{
|
108 |
'ref_video_path': ref_video_path,
|