Spaces:
Running
Running
add moondream step
Browse files
app.py
CHANGED
@@ -95,10 +95,10 @@ def infer(image_in, camera_shot, conditional_pose, prompt, style, chosen_model):
|
|
95 |
|
96 |
iid_img = get_instantID(image_in, conditional_pose, prompt, style)
|
97 |
|
98 |
-
|
99 |
|
100 |
if chosen_model == "i2vgen-xl" :
|
101 |
-
video_res = get_video_i2vgen(iid_img,
|
102 |
elif chosen_model == "stable-video" :
|
103 |
video_res = get_video_svd(image_in)
|
104 |
|
|
|
95 |
|
96 |
iid_img = get_instantID(image_in, conditional_pose, prompt, style)
|
97 |
|
98 |
+
short_cap = get_short_caption(iid_img)
|
99 |
|
100 |
if chosen_model == "i2vgen-xl" :
|
101 |
+
video_res = get_video_i2vgen(iid_img, short_cap)
|
102 |
elif chosen_model == "stable-video" :
|
103 |
video_res = get_video_svd(image_in)
|
104 |
|