Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -47,15 +47,15 @@ CURRENTLY_LOADED_CUSTOM_LORA = None
|
|
47 |
print("Loading base LoRA...")
|
48 |
CAUSVID_LORA_REPO = "Kijai/WanVideo_comfy"
|
49 |
CAUSVID_LORA_FILENAME = "Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors"
|
50 |
-
try:
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
except Exception as e:
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
print("Initialization complete. Gradio is starting...")
|
59 |
|
60 |
|
61 |
|
|
|
47 |
print("Loading base LoRA...")
|
48 |
CAUSVID_LORA_REPO = "Kijai/WanVideo_comfy"
|
49 |
CAUSVID_LORA_FILENAME = "Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors"
|
50 |
+
# try:
|
51 |
+
# causvid_path = hf_hub_download(repo_id=CAUSVID_LORA_REPO, filename=CAUSVID_LORA_FILENAME)
|
52 |
+
# pipe.load_lora_weights(causvid_path, adapter_name=DEFAULT_LORA_NAME)
|
53 |
+
# print(f"✅ Default LoRA '{DEFAULT_LORA_NAME}' loaded successfully.")
|
54 |
+
# except Exception as e:
|
55 |
+
# print(f"⚠️ Default LoRA could not be loaded: {e}")
|
56 |
+
# DEFAULT_LORA_NAME = None
|
57 |
+
|
58 |
+
# print("Initialization complete. Gradio is starting...")
|
59 |
|
60 |
|
61 |
|