Spaces:
Runtime error
Runtime error
CharlieAmalet
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -68,8 +68,8 @@ max_64_bit_int = 2**63 - 1
|
|
68 |
@spaces.GPU(enable_queue=True, duration=240)
|
69 |
def generate_video(
|
70 |
image: Image,
|
71 |
-
randomize_seed: bool = True,
|
72 |
seed: int,
|
|
|
73 |
motion_bucket_id: int = 127,
|
74 |
fps_id: int = 6,
|
75 |
version: str = "svd_xt",
|
@@ -181,7 +181,7 @@ with gr.Blocks(css=css) as SVD_XT_1_1:
|
|
181 |
|
182 |
generate_btn.click(
|
183 |
fn=generate_video,
|
184 |
-
inputs=[image,
|
185 |
outputs=video_out,
|
186 |
api_name="run"
|
187 |
)
|
|
|
68 |
@spaces.GPU(enable_queue=True, duration=240)
|
69 |
def generate_video(
|
70 |
image: Image,
|
|
|
71 |
seed: int,
|
72 |
+
randomize_seed: bool = True,
|
73 |
motion_bucket_id: int = 127,
|
74 |
fps_id: int = 6,
|
75 |
version: str = "svd_xt",
|
|
|
181 |
|
182 |
generate_btn.click(
|
183 |
fn=generate_video,
|
184 |
+
inputs=[image, seed, randomize_seed, motion_bucket_id, fps_id],
|
185 |
outputs=video_out,
|
186 |
api_name="run"
|
187 |
)
|