Spaces:
Paused
Paused
Update app_two_lora.py
Browse files- app_two_lora.py +2 -2
app_two_lora.py
CHANGED
|
@@ -143,7 +143,7 @@ pipe.load_lora_weights(
|
|
| 143 |
"vrgamedevgirl84/Wan14BT2VFusioniX",
|
| 144 |
weight_name="OtherLoRa's/DetailEnhancerV1.safetensors", adapter_name="detailer"
|
| 145 |
)
|
| 146 |
-
pipe.set_adapters(["phantom","detailer"], adapter_weights=[
|
| 147 |
pipe.fuse_lora()
|
| 148 |
|
| 149 |
|
|
@@ -330,7 +330,7 @@ def generate_video(prompt, height, width,
|
|
| 330 |
video_path = tmpfile.name
|
| 331 |
export_to_video(output_frames_list, video_path, fps=FIXED_OUTPUT_FPS)
|
| 332 |
#4k gen
|
| 333 |
-
upscale_to_4k_and_replace(video_path)
|
| 334 |
return video_path, current_seed
|
| 335 |
|
| 336 |
|
|
|
|
| 143 |
"vrgamedevgirl84/Wan14BT2VFusioniX",
|
| 144 |
weight_name="OtherLoRa's/DetailEnhancerV1.safetensors", adapter_name="detailer"
|
| 145 |
)
|
| 146 |
+
pipe.set_adapters(["phantom","detailer"], adapter_weights=[1, .8])
|
| 147 |
pipe.fuse_lora()
|
| 148 |
|
| 149 |
|
|
|
|
| 330 |
video_path = tmpfile.name
|
| 331 |
export_to_video(output_frames_list, video_path, fps=FIXED_OUTPUT_FPS)
|
| 332 |
#4k gen
|
| 333 |
+
#upscale_to_4k_and_replace(video_path)
|
| 334 |
return video_path, current_seed
|
| 335 |
|
| 336 |
|