Spaces:
Runtime error
Runtime error
Update worker_runpod.py
Browse files- worker_runpod.py +1 -1
worker_runpod.py
CHANGED
@@ -71,7 +71,7 @@ def download_image(url, download_dir="asset"):
|
|
71 |
# Usage
|
72 |
# validation_image_start = values.get("validation_image_start", "https://example.com/path/to/image.png")
|
73 |
# downloaded_image_path = download_image(validation_image_start)
|
74 |
-
model_id = "
|
75 |
transformer = CogVideoXTransformer3DModel.from_pretrained(model_id, subfolder="transformer").to(torch.bfloat16)
|
76 |
|
77 |
vae = AutoencoderKLCogVideoX.from_pretrained(model_id, subfolder="vae").to(torch.bfloat16)
|
|
|
71 |
# Usage
|
72 |
# validation_image_start = values.get("validation_image_start", "https://example.com/path/to/image.png")
|
73 |
# downloaded_image_path = download_image(validation_image_start)
|
74 |
+
model_id = "/runpod-volume/model"
|
75 |
transformer = CogVideoXTransformer3DModel.from_pretrained(model_id, subfolder="transformer").to(torch.bfloat16)
|
76 |
|
77 |
vae = AutoencoderKLCogVideoX.from_pretrained(model_id, subfolder="vae").to(torch.bfloat16)
|