Spaces:
Configuration error
Configuration error
Commit
·
2799450
1
Parent(s):
14165f4
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ num_steps = 30
|
|
| 28 |
model_config = "scripts/sampling/configs/svd_xt.yaml"
|
| 29 |
device = "cuda"
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
def run_sampling(
|
| 34 |
input_path: str,
|
|
|
|
| 28 |
model_config = "scripts/sampling/configs/svd_xt.yaml"
|
| 29 |
device = "cuda"
|
| 30 |
|
| 31 |
+
hf_hub_download(repo_id="stabilityai/stable-video-diffusion-img2vid-xt", filename="svd_xt.safetensors", local_dir="checkpoints", token=os.getenv("HF_TOKEN"))
|
| 32 |
|
| 33 |
def run_sampling(
|
| 34 |
input_path: str,
|