Commit
•
1fd02fe
1
Parent(s):
3a53c1a
Update app.py
Browse files
app.py
CHANGED
@@ -32,12 +32,12 @@ def generate_video(
|
|
32 |
seed: int,
|
33 |
motion_bucket_id: int = 127,
|
34 |
fps_id: int = 6,
|
|
|
35 |
version: str = "svd_xt",
|
36 |
cond_aug: float = 0.02,
|
37 |
decoding_t: int = 3, # Number of frames decoded at a time! This eats most VRAM. Reduce if necessary.
|
38 |
device: str = "cuda",
|
39 |
output_folder: str = "outputs",
|
40 |
-
secret_token: str = "",
|
41 |
):
|
42 |
if secret_token != SECRET_TOKEN:
|
43 |
raise gr.Error(
|
|
|
32 |
seed: int,
|
33 |
motion_bucket_id: int = 127,
|
34 |
fps_id: int = 6,
|
35 |
+
secret_token: str = "",
|
36 |
version: str = "svd_xt",
|
37 |
cond_aug: float = 0.02,
|
38 |
decoding_t: int = 3, # Number of frames decoded at a time! This eats most VRAM. Reduce if necessary.
|
39 |
device: str = "cuda",
|
40 |
output_folder: str = "outputs",
|
|
|
41 |
):
|
42 |
if secret_token != SECRET_TOKEN:
|
43 |
raise gr.Error(
|