Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ pipe = StableVideoDiffusionPipeline.from_pretrained(
|
|
40 |
|
41 |
# Get the cache directory of the original model
|
42 |
cache_dir = HfFolder.get_cache_dir()
|
43 |
-
model_cache_dir = os.path.join(cache_dir,
|
44 |
|
45 |
# Path to the downloaded svd_xt_1_1.safetensors file
|
46 |
downloaded_safetensors_path = "svd_xt_1_1.safetensors"
|
|
|
40 |
|
41 |
# Get the cache directory of the original model
|
42 |
cache_dir = HfFolder.get_cache_dir()
|
43 |
+
model_cache_dir = os.path.join(cache_dir, original_model_id.replace("/", "--"))
|
44 |
|
45 |
# Path to the downloaded svd_xt_1_1.safetensors file
|
46 |
downloaded_safetensors_path = "svd_xt_1_1.safetensors"
|